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 |
|
|
| |
|
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 |
|
|
|
| 27 Aug 2014 07:44 PM |
| Oh ya, I didn't take a very close look XD |
|
|
| Report Abuse |
|
|
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 |
|
|