DevAlton
|
  |
| Joined: 08 Dec 2014 |
| Total Posts: 406 |
|
|
| 20 Feb 2016 07:07 PM |
I am wanting to keep a player from moving if a boolValue in a GUI is true. How would I do this? The wiki gives information about removing controls but It doesnt tell how you would give the controls back to them.. |
|
|
| Report Abuse |
|
|
| 20 Feb 2016 07:13 PM |
to remove the controls do this
bn = --put path to booleen here (remember to put .Value)
while true do wait (.1) if bn==true then game.LocalPlayer.Character.Walkspeed = 0 elseif bn==false then game.LocalPlayer.Character.Walkspeed = 16 end end
real men don't know they have feet |
|
|
| Report Abuse |
|