|
| 10 Oct 2013 02:08 PM |
function Click() Script.Parent.Parent.Visible = false end
script.Parent.MouseButton1Down:connect(Click)
--
A VERY basic script won't work at all. Is it because of it's placement in the game? The script is located at game.StarterGui.StartGui.RuleFrame.Close.Script |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
|
| 10 Oct 2013 02:39 PM |
script.Parent
not Script.Parent. |
|
|
| Report Abuse |
|
|
talk2me2
|
  |
| Joined: 25 Mar 2011 |
| Total Posts: 1051 |
|
|
| 10 Oct 2013 02:51 PM |
function Click() script.Parent.Parent.Visible = false end
script.Parent.MouseButton1Down:connect(Click)
|
|
|
| Report Abuse |
|
|
|
| 10 Oct 2013 02:54 PM |
| Yeah...This isn't C#, this is Lua. We use lowercase letters to start our variable names. Kthxbai. |
|
|
| Report Abuse |
|
|