Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you disable jumping?

I mean, i've seen it in the Roblox BATTLE game. When you run out of stamina your jump is disabled temporarily. How do they do that?

1 answer

Try using a BodyObject such as BodyVelocity to keep the Torso down, then when you want the player to be able to jump set the maxForce to Vector3.new() so that the player can jump again.

This discussion is preserved as it was. New answers, comments, and votes are closed.