ContextActionService:UnbindAction("jumpAction") does not work 100% of the time

I’m not sure what I am doing wrong, but when I Play Solo,

ContextActionService:UnbindAction("jumpAction")

Only works part of the time. Is there something I’m missing? I have it in a local script in StarterPlayer.

I’m working on a stamina system, so I’m trying to disable to ability to jump and let the “jumps” be handled on the server by using a remote event when space is pressed.

Set the jump power to 0, and check use jump power. Or simply overtake the jump button using the CAS.


CAS:BindAction("NewJump", myJumpFunc, true/false, Enum.Keycode.Spacebar)
1 Like