Stimulate controls during Double Jump

Basically, I am attempting to recreate the Double Jumping from Ninja Legends. I am having troubles, as I am extremely lost what to do?

I was mainly thinking of making it a BodyThrust or BodyForce to stimulate the force, but then if you look closely, it is clearly modified controls whilst double jumping, as it doesn’t move you forward if you are not moving forward.

So I am lost on if I should use MoveDirection, and check if it is at Vector3 0,0,0 or not ( if it is at Vector3 0,0,0 whilst double jumping then the player is still )

Another issue I ran into , I tried making it like the classic BodyGyro and BodyVelocity method, however this would require me to listen for W and other buttons being pressed, which is completely fine, but due to the game having mobile support, this is not feasible, and I urgently need another method.

Ninja Legends;

https://gyazo.com/a9e3b24125745e0a7f8a695fab16fb97

Mine;

https://gyazo.com/18a995faded77be749c19c68d072a4e6

Thank you, any help is appreciated!

I knew there was a line of code you could use to make the player jump even in the air, and I actually found a tutorial on how to do this on the devhub.

Here’s the specific line of code for double jumping:

humanoid:ChangeState(Enum.HumanoidStateType.Jumping)

Much simpler than messing around with BodyMovers.

That is the method I am currently using, I was attempting to mess around with body movers in attempt to make them be able to control their character while double jumping as seen in the GIFs, Ninja Legends has this, but I do not.

Can’t you just change the WalkSpeed of the player so they move faster while jumping? Then reset it when they are out of jumps or hit the ground.

1 Like

Wow I didn’t think of that lol, can’t believe my brain is this tiny. Thank you!

1 Like