Hello,
I found a double jump skript that works and I tried adding that only if the player is wearing specific armor it would let him double jump put then I saw that if the player doesn't wear the armor he starts flying
I found a double jump skript that works and I tried adding that only if the player is wearing specific armor it would let him double jump put then I saw that if the player doesn't wear the armor he starts flying
Code:
on flight toggle:
player's gamemode is not creative
player is wearing a leather boots
if name of player's boots is "&9Plummer Boots":
cancel event
wait a tick
set player's flight state to false
push player upwards at speed 0.8
push player forwards at speed 0.8
make 10 of poof at player with offset vector(2, 2, 2) with extra 0.5
morkazsk play sound "entity_bat_takeoff" at player with pitch 1.0 and volume 2.0
on jump:
player's gamemode is not creative:
player has permission "{@DoubleJumpPerm}":
{DoubleJump%player's uuid%} is not set:
block below player is not air or water:
set player's flight state to true
on damage:
damage cause is fall:
{DoubleJump%victim's uuid%} is not set:
cancel event