menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
Need a Script That Disables Controls
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Need a Script That Disables Controls
Kramer777
Join Date: 2013-09-07
Post Count: 14696
#183899321
Thursday, February 18, 2016 8:43 PM GMT
I've tried this but it doesn't work. for _, controller in pairs(game:GetService("ControllerService"):GetChildren()) do controller.Parent = false end
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Kramer777
Join Date: 2013-09-07
Post Count: 14696
#183899537
Thursday, February 18, 2016 8:47 PM GMT
Bump
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
cofunction
Join Date: 2012-12-11
Post Count: 3357
#183899579
Thursday, February 18, 2016 8:48 PM GMT
Just disable the control script in the player's playerscripts.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Kramer777
Join Date: 2013-09-07
Post Count: 14696
#183899912
Thursday, February 18, 2016 8:55 PM GMT
I also want to give back the player's control so I can't do that.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
phoenix53124
Join Date: 2009-02-25
Post Count: 4889
#183900582
Thursday, February 18, 2016 9:09 PM GMT
Then Enable it.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
ZappleOfficial
Join Date: 2013-09-18
Post Count: 1075
#183900709
Thursday, February 18, 2016 9:11 PM GMT
Just make a script that disables the control script then re-enables it
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
ZappleOfficial
Join Date: 2013-09-18
Post Count: 1075
#183900820
Thursday, February 18, 2016 9:13 PM GMT
Put this in a localscript then put this is StarterPack local player = game.Players.LocalPlayer wait(3) player.PlayerScripts.ControlScript.Disabled = true wait(3) player.PlayerScripts.ControlScript.Disabled = false
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right