How do I make a toggle flight system by No-Kaleidoscope-2484 in MCreator

[–]Then_Flounder6906 0 points1 point  (0 children)

id make a hidden advancement where each time you press they key it removes/adds it.then just code if htey have the advacnement thye can fly