I have this script that I use to enable/disable player movement. And it’s worked forever, but just now has stopped working. The disabling of movement works, but when I go to re-enable it, it doesn’t work, even though it’s printing
local Players = game:GetService('Players')
local ReplicatedStorage = game:GetService('ReplicatedStorage')
local Player = Players.LocalPlayer
local PlayerControls = require(Player.PlayerScripts.PlayerModule):GetControls()
return function(active)
if active then
print("ENABLE") -- prints
PlayerControls:Enable()
else
PlayerControls:Disable()
end
end