Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- if y coordinate of location of victim <= 0:
- cancel event
- teleport victim to {spawn}
- command /setspawn:
- trigger:
- if player does not have permission "admin.setspawn":
- message "&cYou must be admin or higher to use this command."
- else:
- set {spawn} to location of player
- message "&aThe spawn has been set to your current location."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement