Hiya! Right now I'm trying to make a rocket boots of sorts, I've got this done as a bare bones, but I can't for the life of me figure out how to constantly have it pushing the player while shifting. I tried to do some loops, but I don't really understand them too well. Thanks for the help!
Code:
on sneak toggle:
if player is sneaking:
if block under player is air:
"%lore of players's boots%" contains "&eAngel":
if player's pitch is between -90 and -50:
play sound "block.lava.extinguish" with volume 0.2 at player
push player upwards with force 0.8
push player forward with force 0.2
if player's pitch is between -50 and 40:
play sound "block.lava.extinguish" with volume 0.2 at player
push player upwards with force 0.3
push player forward with force 0.6
if player's pitch is between 40 and 90:
play sound "block.lava.extinguish" with volume 0.2 at player
push player downwards with force 0.05
push player forward with force 0.2
else:
stop