Disabling Character Controls?

The PlayerModule, found in PlayerScripts, has a GetControls function which returns the Controls class - this then has Enable/Disable methods.

Here’s an example of using it:

local LocalPlayer = game:GetService("Players").LocalPlayer
local Controls = require(LocalPlayer.PlayerScripts.PlayerModule):GetControls()

Controls:Disable()
87 Likes