Advertisement
CMDProGamer

/wild skript

Apr 27th, 2019
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. command /wild:
  2. aliases: /gowild, /wildtp
  3. permission: sk.wild
  4. description: Teleport to a random location in the survival world.
  5. trigger:
  6. if player is in world "Survival":
  7. set {_wild} to difference between {wild.%player%.lastused} and now
  8. if {_wild} is less than 3 minutes:
  9. message "&8[&3&lKepler&8] &cYou have to wait %difference between 3 minutes and {_wild}% before you can use this command again!"
  10. else:
  11. message "&8[&3&lKepler&8] &aYou are now being teleported."
  12. execute console command "/spreadplayers 0 0 13000 30000 false %player%"
  13. else:
  14. message "&8[&3&lKepler&8] &cYou must be in the survival world to do this!"
  15. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement