command /spawn: trigger: if player has permission "fdsfs.spawn": set {_loc} to "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" send player title "&8[&6TELEPOTR&8]" with subtitle "&8» fZostaniesz teleportowany za 5 sekund" for 5 seconds wait 5 real seconds if "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" is {_loc}: teleport player to {spawn} send "&8» &7Teleportacja &epomyslna!" else: send "&8» &eRuszyles sie! &7Teleportacja anulowana!"