josh650
|
  |
| Joined: 18 Aug 2008 |
| Total Posts: 1096 |
|
|
| 05 Mar 2013 06:32 PM |
| I'm just starting my scripting on roblox, and I am now working on a new game. I wanted to know how to make a GUI and then click a button to make it disappear. I have the GUI made, but I'm not exactly sure on how to make it go away. Anyone that can help me? |
|
|
| Report Abuse |
|
|
|
| 05 Mar 2013 06:34 PM |
local GUI = script.Parent; local Frame = GUI.Parent;
GUI.MouseButton1Click:connect(function() Frame.Visible = false; end) |
|
|
| Report Abuse |
|
|
josh650
|
  |
| Joined: 18 Aug 2008 |
| Total Posts: 1096 |
|
|
| 05 Mar 2013 06:45 PM |
| Would I just add that in a script linked to the ScreenGUI? and thanks. |
|
|
| Report Abuse |
|
|
josh650
|
  |
| Joined: 18 Aug 2008 |
| Total Posts: 1096 |
|
| |
|
| |
|
|
| 05 Mar 2013 10:06 PM |
ew epiccc
¤ ¤ † K M <( •д• )> X D † ¤ ¤ |
|
|
| Report Abuse |
|
|
| |
|