How do I lock controls until GUI is finished, like a click play GUI until you click it and it disappears controls don’t work?
Not sure how to do this if you know how please tell me the code?
xZylter
(xZylter)
April 27, 2021, 8:19pm
#2
Found an already made topic explaining how to disable control input.
Hayo!
The new player module layout is shown below.
[image]
Previously, you would disable the Control script as a hacky way to disable movement.
With the new PlayerModule comes improved functionality.
In order to disable controls, you would need to require the player module, get the controls, and run the Disable method. This can only be used locally
-- This require statement gathers the new player scripts.
local PlayerModule = require(game.Players.LocalPlayer.PlayerScripts:WaitForChild("Pla…
Oh okay, I didn’t see that, thank you for telling me this!