scoreboard players operation @s miner.displaycount = @s miner.lapis_ore.count
scoreboard players operation @s miner.lapis_ore.count *= .lapisvalue miner.pay
scoreboard players operation @s miner.pay += @s miner.lapis_ore.count
tellraw @s [{"text":"\n- ","bold":true,"color":"blue"},{"translate":"item.minecraft.lapis_lazuli"},{"text":" ("},{"score":{"name":"*","objective":"miner.displaycount"}},{"text":"): "},{"color":"dark_green","bold":true,"score":{"name":"*","objective":"miner.lapis_ore.count"}},{"text":"$\n","color":"dark_green","bold":true}]
scoreboard players reset @s miner.lapis_ore.count