generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Help!

Previous Thread :: Next Thread 
yankeejr is not online. 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 is not online. yankeejr
Joined: 04 Jul 2012
Total Posts: 4906
30 May 2014 11:51 PM
bump!
Report Abuse
yankeejr is not online. yankeejr
Joined: 04 Jul 2012
Total Posts: 4906
30 May 2014 11:53 PM
again!
Report Abuse
yankeejr is not online. yankeejr
Joined: 04 Jul 2012
Total Posts: 4906
30 May 2014 11:56 PM
again! (2)
Report Abuse
beastmodetime14 is not online. beastmodetime14
Joined: 01 Mar 2013
Total Posts: 586
31 May 2014 12:02 AM
You can set there walk speed to 1 or something.
Report Abuse
yankeejr is not online. yankeejr
Joined: 04 Jul 2012
Total Posts: 4906
31 May 2014 12:07 AM
lol
Report Abuse
beastmodetime14 is not online. beastmodetime14
Joined: 01 Mar 2013
Total Posts: 586
31 May 2014 12:11 AM
What?
Report Abuse
yankeejr is not online. 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
beastmodetime14 is not online. beastmodetime14
Joined: 01 Mar 2013
Total Posts: 586
31 May 2014 12:30 AM
It isn't that hard. Second you could set to 0. That might freeze them?
Report Abuse
THEMENDEZKID is not online. THEMENDEZKID
Joined: 18 Aug 2011
Total Posts: 2401
31 May 2014 01:20 AM
They can rotate, he means Isolate.
Report Abuse
MountainSnow is not online. MountainSnow
Joined: 15 Mar 2013
Total Posts: 3324
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image