execute on target run function ws:work/misc/tier2/miner/extract
scoreboard players add @s miner.resonate 1
execute at @s[scores={miner.resonate=200}] run playsound minecraft:block.bell.resonate ambient @a[team=miner,tag=mining] ~ ~ ~ 2 0
scoreboard players reset @s[scores={miner.resonate=200..}] miner.resonate