hello, I have a big problem with the GetControl() and the :Enable() because yes, when I disable the GetControl() , the player can’t do anything (normal) but when I try to enable, it doesn’t work, Why ?
I have no error and my script and a local script in the PlayerGui, here is the script :
local player = game.Players.LocalPlayer
local controls = require(player.PlayerScripts:WaitForChild("PlayerModule")):GetControls()
controls:Disable()
local function Test()
wait(1)
print("I'm the best")
wait(1)
end
Test()
controls:Enable()
wait(1)
script:Destroy()
If that’s the case, why would there be a Disable function then? It doesn’t make sense.
@gentilmatheo as for the question, you probably cannot access core scripts in game, because of their higher permission levels. But, you can edit them in studio by forking them.