here are all of the commands, MAKE SURE TO MAKE THEM ALL REPEAT AND ALWAYS ACTIVE.
----------------------------------------------------------------------------------------------------------------------------------------------------------------
This command block should be hooked up to a repeating redstone circuit: /scoreboard players reset @a sneak
2.execute if score _Waffler sneak matches 2 run scoreboard players reset _Waffler jump
3. scoreboard players reset @a jump
4. execute if score _Waffler jump matches 1 if score _Waffler sneak matches 1 run effect give _Waffler minecraft:levitation 1 7
Please remember that you need to replace my username with your own, or @a.
Also thenks for watching!!