Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ORYGINALNY SKRYPT BY HEROWSKI
- #REEDYCJA BY XSZWAGIER
- options:
- uprawnienie: timefly.vip
- command /timefly:
- trigger:
- if player has permission "{@uprawnienie}":
- if player has 10 diamonds:
- if {fly::%player%} is false:
- set {fly::%player%} to true
- send "&aKupiles efekt latania na 10 minut." to player
- send "&4Po opuszczeniu gry przed czasem efekt latania zostanie utracony!" to player
- remove 10 diamond from player
- allow player to fly
- wait 9 minutes
- send "&cPozostala Ci minuta latania!"
- wait 1 minute
- disallow player to fly
- set {fly::%player%} to false
- send "&cTwoj lot sie juz skonczyl, mozesz ponownie zakupic efekt!"
- else:
- send "&4Blad: &cWykupiles juz latanie."
- else:
- send "&4Blad: &cNie masz 10 diamentow!"
- else:
- send "&c4Blad: &cNie posiadasz uprawnien :c"
- on leave:
- if {fly::%player%} is true:
- disallow player to fly
Advertisement
Add Comment
Please, Sign In to add comment