Guest User

Untitled

a guest
Aug 13th, 2015
410
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. Options:
  2.  
  3. P: <cyan>[<gray>UHC<cyan>]
  4.  
  5. command /nogoingback <text>:
  6. usage: /nogoingback <on/off>
  7. aliases: /ngb
  8. permission: skript.op
  9. trigger:
  10. if arg-1 is "on":
  11. set {NoGoingBack} to true
  12. broadcast "{@P} <red>No Going Back Enabled"
  13.  
  14. if arg-1 is "off":
  15. set {NoGoingBack} to false
  16. broadcast "{@P} <red>No Going Back Disabled"
  17. if arg-1 is "set":
  18. set {EndWarp} to player's location
  19. message "{@P} <red>Warp Set"
  20.  
  21.  
  22. on portal:
  23. {NoGoingBack} is true
  24. biome of player is hell
  25. wait 1 second
  26. teleport player to {EndWarp}
  27.  
  28.  
  29. on portal enter:
  30. {NoGoingBack} is true
  31. biome is not hell or sky
  32. message "{@P} <red>Once you go through the portal, there is no going back!" to player
  33.  
  34.  
  35. on portal:
  36. {NoGoingBack} is true
  37. biome of player is sky
  38. cancel the event
Advertisement
Add Comment
Please, Sign In to add comment