Advertisement
XDragonGamer

Fly skript

May 25th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. #Skripted by toriset!
  2.  
  3. command /fly [<text>]:
  4. trigger:
  5. if player has permission "skript.fly":
  6. if arg 1 is not set:
  7. if {fly.%player%} is true:
  8. set player`s flight mode to false
  9. set {fly.%player%} to false
  10. send "&6Sk&bFly &7> &fYour flight has been &cdisabled"
  11. if {fly.%player%} is false:
  12. set {fly.%player%} to true
  13. set player`s flight state to false
  14. send "&6Sk&bFly &7> &fYour flight has been &aenabled"
  15.  
  16. else:
  17. if {fly.%arg 1%} is true:
  18. set player`s flight mode to false
  19. set {fly.%player%} to false
  20. send "&6Sk&bFly &7> &fYour flight has been &adisabled"
  21. if {fly.%arg 1%} is false:
  22. set {fly.%player%} to true
  23. set player`s flight state to true
  24. send "&6Sk&bFly &7> &fYour flight has been &aenabled"
  25. else:
  26. send "&6Sk&bFly &7> &cYou dont have permission &7: &bskript.fly&c!"
  27.  
  28. on join:
  29. if {fly.%player%} is not set:
  30. set {fly.%player%} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement