Stopping player input

I want to basically stop any input coming from the player, so even if I have an action binded to a script, it still won’t run the code when I press the key.

Is there any way of doing that?

There is ContextActionService::UnbindAllActions, if that’s what you mean. It might be simpler to write a wrapper for ContextActionService that includes a global “enabled” flag, depending on your architecture.