Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
(Not tested, but I know this works, since I used it before)Its possible with umbaska 2.0 but umbaska its very buggy a lot and i trying to find another solution.
command /fly:
permission: forcefly.fly
trigger:
if {fly.%uuid of player%} is not set:
set {fly.%uuid of player%} to true
set player's fly mode to true
message "&fFly mode &aenabled&f!"
else:
delete {fly.%uuid of player%}
set player's fly mode to false
message "&fFly mode &cdisabled&f!"
Addon: SkQuery
Patterns:
%players%'s fl(y|ight) (state|ability|mode)
[the] fl(y|ight) (state|ability|mode) of %players%
(Not tested, but I know this works, since I used it before)
code_language.skript:command /fly: permission: forcefly.fly trigger: if {fly.%uuid of player%} is not set: set {fly.%uuid of player%} to true set player's fly mode to true message "&fFly mode &aenabled&f!" else: delete {fly.%uuid of player%} set player's fly mode to false message "&fFly mode &cdisabled&f!"
Code:Addon: SkQuery Patterns: %players%'s fl(y|ight) (state|ability|mode) [the] fl(y|ight) (state|ability|mode) of %players%
it's stupid ;ptry to push the player in the air with the on jump: event and with a delay so wenn they are in the air setting the fly state to true
hmm... it was possible with umbaska 2.0 so there is way to do this...As I know The double jump is clientside and can't be modified by a Script