Hello. In my recent games, I have had to disable player controls for various reasons, including making a player not be able to move while in the loading screen. Most of the time, this works. However, sometimes, certain people are exempt from this, randomly. This has happened to myself and others in the game. No errors were put in the output log. Why is this happening? I don’t even know how to reproduce it.
(Yes, it’s in a Local Script).
Code:
local PlayerModule = require(game.Players.LocalPlayer.PlayerScripts:WaitForChild("PlayerModule"))
local Controls = PlayerModule:GetControls()
Controls:Disable()
Any tips?