command /spawn: trigger: if {spawnloc} is set: apply blindness 5 to player for 8 seconds apply nausea 50 to player for 8 seconds play sound "entity_experience_orb_pickup" with volume 0.5 to sender set {spawn.%player%} to true send title "&2&lTravelling to..." with subtitle "&aSpawn &f(7sec)" to sender for 1 seconds wait 1 second send title "&2&lTravelling to..." with subtitle "&aSpawn &f(6sec)" to sender for 1 seconds wait 1 second send title "&2&lTravelling to..." with subtitle "&aSpawn &f(5sec)" to sender for 1 seconds wait 1 second send title "&2&lTravelling to..." with subtitle "&aSpawn &f(4sec)" to sender for 1 seconds wait 1 second send title "&2&lTravelling to..." with subtitle "&aSpawn &f(3sec)" to sender for 1 seconds wait 1 second send title "&2&lTravelling to..." with subtitle "&aSpawn &f(2sec)" to sender for 1 seconds wait 1 second send title "&2&lTravelling to..." with subtitle "&aSpawn &f(1sec)" to sender for 1 seconds wait 1 second teleport player to {spawnloc} set {spawn.%player%} to false on any move: if {spawn.%player%} is set: if {spawn.%player%} is true: set {spawn.%player%} to false remove all potion effects from the player send "&3Teleportation!&7 ยป &cTeleportation canceled! &7Do not move next time" to player