generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: GUI

Previous Thread :: Next Thread 
josh650 is not online. 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
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
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 is not online. 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 is not online. josh650
Joined: 18 Aug 2008
Total Posts: 1096
05 Mar 2013 07:37 PM
THANKS!
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
05 Mar 2013 10:05 PM
No problem.
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
05 Mar 2013 10:06 PM
ew epiccc

¤ ¤ † K M <( •д• )> X D † ¤ ¤
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
05 Mar 2013 10:49 PM
ew nob
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image