#Flight Skript not working properly
1 messages · Page 1 of 1 (latest)
^
@cinder otter
?
Yeah sure
command /fly <player>:
permission: ultra.essentials.flight
trigger:
if arg-1 is set:
if {flight::%player's uuid%} is set:
delete {flight::%player's uuid%}
send "{@ServName} {@SubColor}%arg-1%{@MainColor}'s flight was {@ExtraColor}DISABLED" to player
send "{@ServName} {@MainColor}Your flight has been toggled {@ExtraColor}DISABLED"
set arg-1's flight mode to false
stop
if {flight::%player's uuid%} isn't set:
set {flight::%player's uuid%} to true
send "{@ServName} {@SubColor}%arg-1%{@MainColor}'s flight was {@ExtraColor}ENABLED" to player
send "{@ServName} {@MainColor}Your flight has been toggled {@ExtraColor}ENABLED" to arg-1
set arg-1's flight mode to true
stop
else:
if arg-1 isn't set:
if {flight::%player's uuid%} is set:
delete {flight::%player's uuid%}
send "{@ServName} {@SubColor}%arg-1%{@MainColor}'s flight was {@ExtraColor}DISABLED" to player
set player's flight mode to false
stop
if {flight::%player's uuid%} isn't set:
set {flight::%player's uuid%} to true
send "{@ServName} {@SubColor}%arg-1%{@MainColor}'s flight was {@ExtraColor}ENABLED" to player
set player's flight mode to true
stop
here u go
@willow flicker
You can make the player argument optional by surrounding it in []
But
?
I dont think itll do anything
Nah it worked
artlg?
Nvm
Typo?
You have it at the bottom
Ye