fill 120 66 202 120 66 202 redstone_block
execute as @p as @s if score ccoal torch matches 1 run give @s coal 1
execute as @p as @s if score ccoal torch matches 1 run title @s actionbar {"text":"+1 Coal","color":"aqua"}

execute as @p as @s if score ccoal torch matches 2 run give @s coal 2
execute as @p as @s if score ccoal torch matches 2 run title @s actionbar {"text":"+2 Coal","color":"aqua"}

execute as @p as @s if score ccoal torch matches 3 run give @s coal 3
execute as @p as @s if score ccoal torch matches 3 run title @s actionbar {"text":"+3 Coal","color":"aqua"}
