## Runs from controller.animation.teleport_pad.detect_player
## @s = ldz:teleport_pad

scoreboard players reset @s TPInRange
scoreboard players reset @s TPTimer
scoreboard players reset @a[r=16] TPBuffer

stopsound @a[r=16] entity.teleport_pad.trigger

event entity @s set_powered_to_false
event entity @s set_trigger_to_0