|
| 09 Jun 2014 03:13 PM |
Okay, so in my previous post, I manually typed in the gui script, and ended up accidentally typing a typo. So I'll just copy and paste the gui script in (at least a section of it)
Heiarchy: ScreenGUI > Frame > TextButton > Script (note that the ScreenGUI contains a second frame named Frame2)
function clicked() script.Parent.Parent.Parent.Frame2.Visible = false end
script.Parent.MouseButton1Clicked:connect(clicked) |
|
|
| Report Abuse |
|
|
| |
|
xXLiLxJXx
|
  |
| Joined: 15 Mar 2012 |
| Total Posts: 687 |
|
| |
|
xXLiLxJXx
|
  |
| Joined: 15 Mar 2012 |
| Total Posts: 687 |
|
|
| 09 Jun 2014 04:16 PM |
I usally use this..
function clicked() script.Parent.Parent.Parent.Frame2.Visible = false end
script.Parent.MouseButton1Down:connect(clicked) --Not MouseButton1Clicked |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2014 04:17 PM |
function clicked() script.Parent.Parent.Visible = false end
that should work I think
unless its
script.Parent.Parent.Frame2.Visible = false |
|
|
| Report Abuse |
|
|