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: I need some help

Previous Thread :: Next Thread 
ramboyelectrix is not online. ramboyelectrix
Joined: 31 Mar 2013
Total Posts: 1289
24 Mar 2014 02:21 AM
How do I script a button that when you click on it, a frame pops up.
Also How do I make a Script that closes a frame.
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
24 Mar 2014 02:42 AM
script.Parent.MouseButton1Click:connect(function() game.Players.LocalPlayer.PlayerGui.ScreenGuiNAME.NAMEOFFRAME.Visible = true end)

script.Parent.MouseButton1Click:connect(function()
game.Players.LocalPlayer.PlayerGui.SCREENGUINAME.NAMEOFFRAME.Visible=false end)
Report Abuse
ramboyelectrix is not online. ramboyelectrix
Joined: 31 Mar 2013
Total Posts: 1289
24 Mar 2014 02:54 AM
Where do I put that script into and which kind of script should I type what you said in, Local Script? or Script?
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
24 Mar 2014 02:55 AM
In the button. use local.
Report Abuse
ramboyelectrix is not online. ramboyelectrix
Joined: 31 Mar 2013
Total Posts: 1289
24 Mar 2014 03:01 AM
When I test it, The Frame keeps on showing up without me pressing the button, how do I make it so that, before you click on the button, The Frame isn't appearing
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
24 Mar 2014 03:06 AM
Set the visible property in the gui to false -.-
Report Abuse
ramboyelectrix is not online. ramboyelectrix
Joined: 31 Mar 2013
Total Posts: 1289
24 Mar 2014 03:18 AM
Thank you, I don't need anymore help now, Now I can make Basic GUIs
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