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 open?

Previous Thread :: Next Thread 
Xupll is not online. Xupll
Joined: 28 Dec 2010
Total Posts: 653
23 Apr 2014 05:55 PM
function onClick(mouse)--DO NOT CHANGE
if script.Parent.Parent.Lab1.Visible == false then--Check
script.Parent.Parent.Lab1.Visible = true --visible
script.Parent.Text = "Close"--Text if that label is opened
else--Check not needed
script.Parent.Parent.Lab1.Visible = false--visible
script.Parent.Text = "Stats"--Text if that label is closed
end
end
script.Parent.MouseButton1Click:connect(onClick)
Report Abuse
Xupll is not online. Xupll
Joined: 28 Dec 2010
Total Posts: 653
23 Apr 2014 05:55 PM
It won;t open the gui.
Report Abuse
JimmyChance is not online. JimmyChance
Joined: 01 Nov 2009
Total Posts: 3681
23 Apr 2014 05:58 PM
map it please
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
23 Apr 2014 06:14 PM
That script you wrote... crap

script.Parent.MouseButton1Click:connect(function()
if not script.Parent.Parent.Lab1.Visible then--Check
script.Parent.Parent.Lab1.Visible = true --visible
script.Parent.Text = "Close"--Text if that label is opened
elseif script.Parent.Parent.Lab1.Visible --Check is needed scrub
script.Parent.Parent.Lab1.Visible = false--visible
script.Parent.Text = "Stats"--Text if that label is closed
end
end)
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
23 Apr 2014 06:14 PM
LOL XD I Forgot a then near elseif my bad....
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