#I made Suphi's flying script from tutorial. How can I make it double jump to fly?

1 messages · Page 1 of 1 (latest)

tall frigate
#

I wish I could just type enum KeyCode DoubleJump instead of F

#

perhaps i could put something that only lets me activate flight if character.Humanoid.FloorMaterial ~+ Enum.Material.Air ? I am very much learning

#

The flight works great otherwise. Very happy with it.

#

or i can disable the script when standing on the ground somehow? but if in the air, the script is active?

#

just so i can put enum KeyCode Space

#

and that would be like having double jump

worldly ibex
#

I believe there is an event in UserInputService which is called JumpRequest, you can use that and check if it was fired within a short interval and then activate or deactivate the flying.