Rethiux
|
  |
| Joined: 14 Nov 2012 |
| Total Posts: 1132 |
|
|
| 01 Feb 2014 04:26 PM |
local MapOpen = game.Workspace.Awards function onClick() MapOpen.Parent = game.Lighting script.Parent.Visible = false end
script.Parent.MouseButton1Down:connect(onClick)
+=~TRC IS AWESOME~=+ (Rethiux) *TRC: (MR) Commander* |
|
|
| Report Abuse |
|
|
| |
|
|
| 01 Feb 2014 04:28 PM |
Try removing the local.[2] Does anything show up in the output? |
|
|
| Report Abuse |
|
|
Rethiux
|
  |
| Joined: 14 Nov 2012 |
| Total Posts: 1132 |
|
|
| 01 Feb 2014 04:45 PM |
local MapOpen = script.Parent.Value.Value function onClick() MapOpen.Parent = game.Lighting script.Parent.Visible = false end
script.Parent.MouseButton1Down:connect(onClick)
Value is an ObjectVlaue. Value.Value = game.Lighting.Awards
+=~TRC IS AWESOME~=+ (Rethiux) *TRC: (MR) Commander* |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 01 Feb 2014 04:47 PM |
| You didn't take their advice at all. Remove the "local" in the variable at the top to make it a global variable. |
|
|
| Report Abuse |
|
|
|
| 01 Feb 2014 05:02 PM |
| He looks like an idiot C&Ger, based on his siggy. We get a lot at C&G, but a few are mature enough to produce a grammatically correct sentence. |
|
|
| Report Abuse |
|
|
Rethiux
|
  |
| Joined: 14 Nov 2012 |
| Total Posts: 1132 |
|
|
| 01 Feb 2014 05:09 PM |
Oh shut up.
+=~TRC IS AWESOME~=+ (Rethiux) *TRC: (MR) Commander* |
|
|
| Report Abuse |
|
|
|
| 01 Feb 2014 05:09 PM |
Told you. Back to the point, remove local and feed back. |
|
|
| Report Abuse |
|
|