I am currently making mobile support for my game and ive encountered the issue that the jump button isnt removed despite me disabling controls to the player module. I want the mobile buttons to be where the jump button shouldve been but the jump button isnt removed
✓ ANSWER ACCEPTED
How to disable the jump button for mobile users?
1 answer
✓ Accepted answer
-- This single line of code will prevent people from jumping.
Humanoid.JumpPower = 0
It works but I wouldn't say its the best way to disable jumping. Setting the jumppower to 0 also removes the jump button for mobile users.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Here is a thread about a clean way to disable the jump button, or, delete it entirely. https://devforum.roblox.com/t/clean-disable-on-mobile-jump/405443
Also check this out: https://developer.roblox.com/en-us/api-reference/property/UserInputService/ModalEnabled
Thank you, but it does disable the buttons i added for mobile, so i will stick with JumpPower 0.