Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- teleport player to {hc.spawn}
- on respawn:
- teleport player to {hc.spawn}
- command /spawn [<player>]:
- trigger:
- if player has permission "hc.admin":
- if arg 1 is set:
- teleport %arg 2% to {hc.spawn}
- stop
- else:
- teleport player to {hc.spawn}
- stop
- if player has permission "hc.vip":
- send "&6Teleportacja nastapi za 5 sekund, nie ruszaj sie!"
- set {_x.%player%} to "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%"
- loop 5 times:
- wait 1 second
- if {_x.%player%} is not "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%":
- send "&cPoruszyles sie, teleportacja anulowana!"
- stop
- command /setspawn:
- trigger:
- if player has permission "hc.spawn":
- set {hc.spawn} to loaction of the player
- send "&8**&9Ustawiles spawn"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement