Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /setspawn:
- trigger:
- if player has permission "setspawn":
- set spawn to location of player
- send "&8> &7Ustawiles lokalizacje spawna."
- command /spawn:
- trigger:
- if player has permission "spawn.teleport":
- set {_x} to x-coordinate of player
- set {_z} to z-coordinate of player
- set {_y} to y-coordinate of player
- send "&7Teleportacja nastapi za 5 sekund!"
- loop 5 times:
- if {_x} is not x-coordinate of player:
- send "&cTeleportacja anulowana!"
- stop
- if {_y} is not y-coordinate of player:
- send "&cTeleportacja anulowana!"
- stop
- if {_z} is not z-coordinate of player:
- send "&cTeleportacja anulowana!"
- stop
- wait 1 second
- teleport player to spawn
Advertisement
Add Comment
Please, Sign In to add comment