# Reset
execute if score @s trap_cooldown matches 40 run playsound custom.trap.trigger block @a ~ ~ ~
execute if score @s trap_cooldown matches 20 run playsound custom.trap.trigger block @a ~ ~ ~
execute if score @s trap_cooldown matches 1 run playsound custom.trap.trigger block @a ~ ~ ~

execute if score @s trap_cooldown matches 40 run particle smoke ~ ~ ~ .5 .5 .5 0 20 force
execute if score @s trap_cooldown matches 20 run particle smoke ~ ~ ~ .5 .5 .5 0 20 force
execute if score @s trap_cooldown matches 1 run particle smoke ~ ~ ~ .5 .5 .5 0 20 force

execute if score @s trap_cooldown matches 1 run data modify entity @e[tag=wm_visual,sort=nearest,limit=1] Item.tag.CustomModelData set value 8010
