yankeejr
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 4906 |
|
|
| 30 May 2014 11:49 PM |
How do I make a character freeze until the gui closes?
if script.Parent.TextBox.Visible = false then --stuff i need help with |
|
|
| Report Abuse |
|
|
yankeejr
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 4906 |
|
| |
|
yankeejr
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 4906 |
|
| |
|
yankeejr
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 4906 |
|
| |
|
|
| 31 May 2014 12:02 AM |
| You can set there walk speed to 1 or something. |
|
|
| Report Abuse |
|
|
yankeejr
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 4906 |
|
| |
|
| |
|
yankeejr
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 4906 |
|
|
| 31 May 2014 12:29 AM |
you think it is that easy.
and plus, i said freeze. not speed change. |
|
|
| Report Abuse |
|
|
|
| 31 May 2014 12:30 AM |
| It isn't that hard. Second you could set to 0. That might freeze them? |
|
|
| Report Abuse |
|
|
|
| 31 May 2014 01:20 AM |
| They can rotate, he means Isolate. |
|
|
| Report Abuse |
|
|
|
| 31 May 2014 01:33 AM |
-- Has to be LocalScript to work
local Player = game:GetService("Players").LocalPlayer local Character = Player.Character or Character.CharacterAdded:wait() local Gui = ( script.Parent:FindFirstChild("TextBox") ~= nil and script.Parent:FindFirstChild("TextBox") or (function() error("Unable to find TextBox. Please try parenting this script to the same parent as TextBox and make sure the name is correct.") end) )
--
do if type(Gui) == "function" then Gui() end end
--
function Freeze(arg) for i,v in next,Character:GetChildren() do if v.ClassName == "Part" then v.Anchored = arg end end end
--
Freeze(true) repeat wait() until Gui.Visible == false Freeze(false) |
|
|
| Report Abuse |
|
|