scoreboard players operation @s miner.bonus = @s miner.collectedore
scoreboard players operation @s miner.bonus /= .miner100 miner.bonus
scoreboard players operation @s miner.bonus *= .miner5 miner.bonus
tellraw @s [{"text":"\n+ ","bold":true,"color":"white"},{"translate":"miner.bonus"},{"text":": "},{"score":{"name":"*","objective":"miner.bonus"}},{"text":"%\n"}]
scoreboard players add @s miner.bonus 100
scoreboard players operation @s miner.pay *= @s miner.bonus
scoreboard players operation @s miner.pay /= .miner100 miner.bonus
tellraw @s [{"text":"\n - ","bold":true},{"translate":"miner.totalpay.bonus"},{"color":"dark_green","bold":true,"score":{"name":"*","objective":"miner.pay"}},{"text":"$\n","color":"dark_green","bold":true}]