Bug with my JumpPower

I have made a part with a click detector and when you use the click detector you should not be able to walk and jump, the problem now is that I can stop walking but for some reason can keep jumping.

This is my code:


	player.Character.Humanoid.WalkSpeed = 0
	player.Character.Humanoid.JumpPower = 0

Go to StarterPlayer and tick the CharacterUseJumpPower Property. That should fix it since by default it uses JumpHeight. Alternatively, you can edit the JumpHeight to 0.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.