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
-- 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.