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: Is this all correct?

Previous Thread :: Next Thread 
Surgo is not online. Surgo
Joined: 11 Jan 2011
Total Posts: 2748
27 Aug 2014 07:29 PM
AreaCode = script.Parent.FrameWork
ready = true
function onTouch(hit)
local h = hit.Parent:FindFirstChild("Humanoid")
if h ~= nil and Ready == true then
Ready = false
local plyr = game.Players:FindFirstChild(h.Parent.Name)
local c = AreaCode:clone()
c.Parent = plyr.PlayerGui
wait(6)
Ready = true
end
end

script.Parent.Touched:connect(onTouch)
Report Abuse
DevSwordfish is not online. DevSwordfish
Joined: 21 Mar 2012
Total Posts: 231
27 Aug 2014 07:33 PM
seems good to me
Report Abuse
Surgo is not online. Surgo
Joined: 11 Jan 2011
Total Posts: 2748
27 Aug 2014 07:42 PM
That's what I thought. Except, the Gui isn't being cloned..
Report Abuse
DevSwordfish is not online. DevSwordfish
Joined: 21 Mar 2012
Total Posts: 231
27 Aug 2014 07:44 PM
Oh ya, I didn't take a very close look XD
Report Abuse
1pie23 is not online. 1pie23
Joined: 11 Jul 2010
Total Posts: 1865
27 Aug 2014 07:44 PM
Your variable ready is called as Ready everywhere else.
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