Advertisement
twogz

Untitled

Jul 26th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. on any movement:
  2. if y coordinate of location of player <= 0:
  3. cancel event
  4. teleport player to {spawn}
  5.  
  6. command /setspawn:
  7. trigger:
  8. if player does not have permission "admin.setspawn":
  9. message "&cYou must be admin or higher to use this command."
  10.  
  11. else:
  12. set {spawn} to location of player
  13. message "&aThe spawn has been set to your current location."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement