hello.
I’m looking for a way to make key input/unoperable for directing.
The information from this site is shown below and applied,
When coming out of the car seat again, the character jumps infinitely, and checks that other keys cannot be input.
Please advise. ㅠㅠ
The situation I used is as follows.
Situation 1) Get in a car, operate it with the GUI button, and get out of the car
Situation 2) When sitting in a chair, cinematic production (camera moving, etc.)
- Discovered and exposed script local Controller = require(game.Players.LocalPlayer:WaitForChild(“PlayerScripts”):WaitForChild(“PlayerModule”)):GetControls() local function inputzero( bool ) if bool then Controller:Disable() - -disables movement elseif not bool then Controller:Enable() --enables movement end end – inputzero( false ) when input value such as keyboard/touch is enabled inputzero( true ) when input value such as keyboard/touch is disabled