chrupel

reedycja sk

Aug 8th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. #ORYGINALNY SKRYPT BY HEROWSKI
  2. #REEDYCJA BY XSZWAGIER
  3. options:
  4. uprawnienie: timefly.vip
  5. command /timefly:
  6. trigger:
  7. if player has permission "{@uprawnienie}":
  8. if player has 10 diamonds:
  9. if {fly::%player%} is false:
  10. set {fly::%player%} to true
  11. send "&aKupiles efekt latania na 10 minut." to player
  12. send "&4Po opuszczeniu gry przed czasem efekt latania zostanie utracony!" to player
  13. remove 10 diamond from player
  14. allow player to fly
  15. wait 9 minutes
  16. send "&cPozostala Ci minuta latania!"
  17. wait 1 minute
  18. disallow player to fly
  19. set {fly::%player%} to false
  20. send "&cTwoj lot sie juz skonczyl, mozesz ponownie zakupic efekt!"
  21. else:
  22. send "&4Blad: &cWykupiles juz latanie."
  23. else:
  24. send "&4Blad: &cNie masz 10 diamentow!"
  25. else:
  26. send "&c4Blad: &cNie posiadasz uprawnien :c"
  27. on leave:
  28. if {fly::%player%} is true:
  29. disallow player to fly
Advertisement
Add Comment
Please, Sign In to add comment