function getXYZ(l:location) :: string: return "%x-coord of {_l}%:%y-coord of {_l}%:%z-coord of {_l}%" command /lobby: aliases: hub trigger: set {_location} to getXYZ(location of player) set {_} to 5 loop 5 times: send title "&c&lTeleportacja za %{_}% sekund... Nie ruszaj siÄ™!" to player remove 1 from {_} wait 1 second if {_location} is not getXYZ(location of player): send title "&c&lTeleportacja przerwana" stop send title "&a&lTeleportacja..." to player connect player to "lobby"