Error with disabling controls

i followed a tutorial on youtube to see how to disable controls, i followed it and here’s the script :

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

Controls:Disable()

i think i followed it correctly but it doesn’t work
robloxapp-20231031-1917340.wmv (356.9 KB)
Can anyone help?..

1 Like

Make sure it’s a localscript and put it inside of the StarterGui or StarterPlayerScripts.

1 Like

oh… i forgot to put it inside of starter gui or starter player scripts, thanks!

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.