Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- uprawnienie: timefly.vip
- wiadomosc_uprawnienia:
- command /fly:
- trigger:
- if player has permission "{@uprawnienie}":
- if player has 10 diamonds:
- if {fly::%player%} is false:
- set {fly::%player%} to true
- send "&aZakupiles latanie na 10minut."
- send "&4Gdy wyjdziesz z gry to latanie zostanie usuniete
- remove 10 diamond from player
- allow player to fly
- wait 9 minutes
- send "&cPozostalo Ci minuta latania."
- wait 1 minute
- disallow player to fly
- set {fly::%player%} to false
- send "&cTwoj lot sie juz skonczyl, mozesz ponownie go wykupic za 10 diametow!"
- else:
- send "&4Blad: &cMasz juz wykupione latanie."
- else:
- send "&4Blad: &cNie masz 10 diametow!"
- else:
- send "{@wiadomosc_uprawnienia}"
- on leave:
- if {fly::%player%} is true:
- disallow player to fly
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement