I'm trying to have a players movement controls disabled, but I can't whats the problem?
local ReplicatedStorage = game:GetService("ReplicatedStorage") ReplicatedStorage:WaitForChild("Events").PlayerControlsOn.OnServerEvent:Connect(function(Player) local Controls = require(Player.PlayerScripts.PlayerModule):GetControls() Controls:Enable() end) ReplicatedStorage:WaitForChild("Events").PlayerControlsOff.OnServerEvent:Connect(function(Player) local Controls = require(Player.PlayerScripts.PlayerModule):GetControls() Controls:Disable() end)