command /fly: permission: skript.fly trigger: if {fly.%player%} is true: set {fly.%player%} to false set flight state of player to false stop if {fly.%player%} is false: set {fly.%player%} to true set flight state of player to true stop else: set {fly.%player%} to true set flight state of player to true