I was under the impression that starting a LocalScript in the StarterPlayerScripts folder with the following code would disable all character controls:
local oldController = require(script.Parent:WaitForChild("PlayerModule")):GetControls() oldController:Disable()
However, this seems to only disable keyboard controls. When I test this in play solo and move around the joystick of my gamepad, my character will still be able to move. On top of that, using a gamepad and then switching back to keyboard seems to automatically re-enable keyboard controls.
Is this method of disabling controls incorrect, or is there something else going on here?