Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Skripted by toriset!
- command /fly [<text>]:
- trigger:
- if player has permission "skript.fly":
- if arg 1 is not set:
- if {fly.%player%} is true:
- set player`s flight mode to false
- set {fly.%player%} to false
- send "&6Sk&bFly &7> &fYour flight has been &cdisabled"
- if {fly.%player%} is false:
- set {fly.%player%} to true
- set player`s flight state to false
- send "&6Sk&bFly &7> &fYour flight has been &aenabled"
- else:
- if {fly.%arg 1%} is true:
- set player`s flight mode to false
- set {fly.%player%} to false
- send "&6Sk&bFly &7> &fYour flight has been &adisabled"
- if {fly.%arg 1%} is false:
- set {fly.%player%} to true
- set player`s flight state to true
- send "&6Sk&bFly &7> &fYour flight has been &aenabled"
- else:
- send "&6Sk&bFly &7> &cYou dont have permission &7: &bskript.fly&c!"
- on join:
- if {fly.%player%} is not set:
- set {fly.%player%} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement