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 » Scripters
Home Search
 

Re: Gui Error

Previous Thread :: Next Thread 
Foreboding is not online. Foreboding
Joined: 22 Aug 2010
Total Posts: 19154
07 Sep 2015 05:25 PM
Box = script.Parent.Box
Button = script.Parent.OpenAndClose
Open = false

Button:MouseButton1Down:connect(function(open)
if Open == false then
Button.Text = "Close"
Box.Visible = true
Open = true
elseif Open == true then
Button.Text = "Open"
Box.Visible = false
Open = false
end
end)


http://www.roblox.com/Shots-Fired-item?id=168209364 Shots fired, ready for the war.
Report Abuse
Foreboding is not online. Foreboding
Joined: 22 Aug 2010
Total Posts: 19154
07 Sep 2015 05:27 PM
b1


http://www.roblox.com/Shots-Fired-item?id=168209364 Shots fired, ready for the war.
Report Abuse
Foreboding is not online. Foreboding
Joined: 22 Aug 2010
Total Posts: 19154
07 Sep 2015 05:29 PM
b2


http://www.roblox.com/Shots-Fired-item?id=168209364 Shots fired, ready for the war.
Report Abuse
Foreboding is not online. Foreboding
Joined: 22 Aug 2010
Total Posts: 19154
07 Sep 2015 05:30 PM
b3


http://www.roblox.com/Shots-Fired-item?id=168209364 Shots fired, ready for the war.
Report Abuse
Foreboding is not online. Foreboding
Joined: 22 Aug 2010
Total Posts: 19154
07 Sep 2015 05:31 PM
b4


http://www.roblox.com/Shots-Fired-item?id=168209364 Shots fired, ready for the war.
Report Abuse
Foreboding is not online. Foreboding
Joined: 22 Aug 2010
Total Posts: 19154
07 Sep 2015 05:32 PM
b5


http://www.roblox.com/Shots-Fired-item?id=168209364 Shots fired, ready for the war.
Report Abuse
Foreboding is not online. Foreboding
Joined: 22 Aug 2010
Total Posts: 19154
07 Sep 2015 05:33 PM
b6


http://www.roblox.com/Shots-Fired-item?id=168209364 Shots fired, ready for the war.
Report Abuse
Grozztok is not online. Grozztok
Joined: 06 Oct 2012
Total Posts: 87
07 Sep 2015 05:41 PM
jeez do you have to bump every single minute
Report Abuse
rubene45 is not online. rubene45
Joined: 08 May 2012
Total Posts: 333
07 Sep 2015 06:08 PM
Box = script.Parent.Parent.Box
Button = script.Parent
Open = false

Button.MouseButton1Down:connect(function()
if Open == false then
open = true
Button.Text = "Close"
Box.Visible = true
elseif Open == true then
Open = true
Button.Text = "Open"
Box.Visible = false
end
end)

Should work now.
Report Abuse
rubene45 is not online. rubene45
Joined: 08 May 2012
Total Posts: 333
07 Sep 2015 06:09 PM
Wooops a typo.
Change line 7 to:
Open = true
Sorry :P
Report Abuse
rubene45 is not online. rubene45
Joined: 08 May 2012
Total Posts: 333
07 Sep 2015 06:11 PM
Woooops sorry another typo.
Change line 11 to:
Open = false
Sorry D:
That's all.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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