Trying to figure out why this isn't working, when I mine the block it doesn't turn to bedrock and it doesn't take the integer
on break:
if player's tool's lore contains "fortune 1":
set {_random} to a random integer between 1 and 3
if event-block is coal ore:
set event-block to bedrock
wait 2 seconds
add {_random} to {coal::%player's uuid%}
set event-block to coal ore
message "&7Added %{random}% to your &7Coal: &c&l%{coal::%player's uuid%}%"
command /ore [<text>]:
trigger:
if arg 1 isn't set:
message "&5&lItems Mined"
message ""
message "&7Coal: &c&l%{coal::%player's uuid%}%"
else if arg 1 is "reset":
set {coal::%player's uuid%} to 0