Blocking a teleport action and triggering a new event

If you’re stepping on a pad, to go to another pad, this code would be in the pad.

If you’re just pointing at a pad and moving to it, this code would be in the player.