Surgo
|
  |
| Joined: 11 Jan 2011 |
| Total Posts: 2748 |
|
| |
|
XU00
|
  |
| Joined: 01 Sep 2012 |
| Total Posts: 239 |
|
| |
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 26 Apr 2014 03:13 PM |
| What is MarkedAreaGui exactly? |
|
|
| Report Abuse |
|
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 26 Apr 2014 03:15 PM |
| Unless MarkedAreaGui is a variable, you have to use its full name. |
|
|
| Report Abuse |
|
|
Surgo
|
  |
| Joined: 11 Jan 2011 |
| Total Posts: 2748 |
|
| |
|
Surgo
|
  |
| Joined: 11 Jan 2011 |
| Total Posts: 2748 |
|
| |
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 26 Apr 2014 04:27 PM |
| Where do you define the MarkedAreaGui tag? |
|
|
| Report Abuse |
|
|
Surgo
|
  |
| Joined: 11 Jan 2011 |
| Total Posts: 2748 |
|
| |
|
youssef04
|
  |
| Joined: 22 Jan 2011 |
| Total Posts: 1745 |
|
|
| 26 Apr 2014 04:40 PM |
Put this: game.Workspace.MarkedAreaGui:clone.Parent = game.Players.LocalPlayer.PlayerGui wait(100) -- waits 100 seconds then removes it game.Players.LocalPlayer.PlayerGui.MarkedAreaGui:remove()
|
|
|
| Report Abuse |
|
|
|
| 26 Apr 2014 04:40 PM |
local GuiClone = game.Workspace.MarkedAreaGui:clone()
basically, what that error message is saying is that you're trying to treat MarkedAreaGui like a variable. If it's in the workspace then you need to make sure the script knows where to look for the object that it's calling the clone method on. |
|
|
| Report Abuse |
|
|
Surgo
|
  |
| Joined: 11 Jan 2011 |
| Total Posts: 2748 |
|
| |
|
Vuva
|
  |
| Joined: 22 Jan 2010 |
| Total Posts: 1102 |
|
|
| 26 Apr 2014 05:49 PM |
| game.Workspace.MarkedAreaGui:Clone().Parent=game.Players.LocalPlayer.PlayerGui |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 27 Apr 2014 03:32 AM |
Yes you do:
local GuiClone = workspace.MarkedAreaGui:Clone() |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
| |
|