Teleport_tool: type: task script: - if : - playsound [sound:block.note_block.bass] (volume:10) - actionbar "Wait " - else: - flag player cooldown expire:5m - playsound [sound:entity.enderman.teleport] (volume:10) - teleport Teleport_tool2: type: world events: on player right clicks block with:: - run teleport_tool