How would i go about coding a part that gives the player infinite jumps while their in the air?

  1. What do you want to achieve? i want to make it so when a player enters a part, they can jump more than once (kinda like a double jump but infinite jumps)

  2. What is the issue? I just dont know how to go about this

  3. What solutions have you tried so far? I have tried looking places, but nothing has helped

I just need to know how to do this, nothing has helped at all.

The Players Humanoid has a Property called FloorMaterial which gives you the Material the Player is standing on. If they are not standing on anything, it will return Enum.Material.Air. You can then check for this condition and apply the proper velocity to have them “jump”.

You might be able to check for changes using :GetPropertyChangedSignal().

1 Like

my idea:

check if the player is in the air, and if they are pressing the jump button or space bar, create an invisible part under the player