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's

Previous Thread :: Next Thread 
crazycommandocrik is not online. crazycommandocrik
Joined: 13 Apr 2012
Total Posts: 569
18 Jun 2013 05:04 PM
i need a script that makes a new GUI with a textbox, or a text label with a close button.

I want multiple GUIs in it, what is the script.



THX

crazycommandocrik
Report Abuse
Unsubstantial is not online. Unsubstantial
Joined: 11 Sep 2012
Total Posts: 872
18 Jun 2013 05:07 PM
Script >>Helpers<<
not makers
Report Abuse
crazycommandocrik is not online. crazycommandocrik
Joined: 13 Apr 2012
Total Posts: 569
19 Jun 2013 06:30 AM
this is the 1 i have now, but it just closes. how do i reopen it?

**bin = script.Parent
function Clicked()
bin.Parent.Visible = false
end
bin.MouseButton1Down:connect(Clicked)**

can u add to it to make it open?
Report Abuse
TheColorMan is not online. TheColorMan
Joined: 30 Jan 2010
Total Posts: 11228
19 Jun 2013 06:47 AM
Well, it's a little silly to have the button itself disappear. I would make a seperate button you could click on to toggle the visibility of the frame you want going visible to invisible.
Report Abuse
crazycommandocrik is not online. crazycommandocrik
Joined: 13 Apr 2012
Total Posts: 569
19 Jun 2013 03:42 PM
Ok then, this will be inside the one that appears. Is it possible to edit this script so that it makes a button appear?
Report Abuse
Kazuhrio is not online. Kazuhrio
Joined: 14 Jun 2013
Total Posts: 202
19 Jun 2013 03:46 PM
wait im a little confused, why do you say you need a gui that appears when your using a button to close uhm confused
Report Abuse
crazycommandocrik is not online. crazycommandocrik
Joined: 13 Apr 2012
Total Posts: 569
19 Jun 2013 03:49 PM
Ok i need a button that makes it appear, and preferably if u press the same button it will disappear. This is a DISAPPEAR script. I need a script that makes it appear, then when u press it again, it disappears.
Report Abuse
Voidion is not online. Voidion
Joined: 01 Aug 2011
Total Posts: 2668
19 Jun 2013 03:52 PM
Here's an example of making a frame invisible/visible:

check = 0
frame = script.Parent.Parent

script.Parent.MouseButton1Click:connect(function()
if(check == 0)then
frame.Visible = false
check = 1
elseif(check == 1)then
frame.Visible = true
check = 0
end
end)
Report Abuse
crazycommandocrik is not online. crazycommandocrik
Joined: 13 Apr 2012
Total Posts: 569
19 Jun 2013 04:00 PM
Thanks, but will the button stay visible?
Report Abuse
Voidion is not online. Voidion
Joined: 01 Aug 2011
Total Posts: 2668
19 Jun 2013 04:02 PM
No it wont sorry. Let me fix that...
frame = script.Parent.Parent.frame

Having a Frame and a Textbutton parented to a Screengui will work here
Report Abuse
crazycommandocrik is not online. crazycommandocrik
Joined: 13 Apr 2012
Total Posts: 569
19 Jun 2013 04:41 PM
Thank you
Report Abuse
crazycommandocrik is not online. crazycommandocrik
Joined: 13 Apr 2012
Total Posts: 569
19 Jun 2013 07:46 PM
um, my GUI textbox only goes in a spright line, rather than multiple lines. basically it goes:


blah blah blah blah blah blah blah blah blah blah blah blah

rather than:

blah blah blah

blah blah blah blah

blah blah blah

blah blah


is there a way to fix it, or do i have to make multiple text labels?
Report Abuse
crazycommandocrik is not online. crazycommandocrik
Joined: 13 Apr 2012
Total Posts: 569
20 Jun 2013 11:32 AM
bump
Report Abuse
crazycommandocrik is not online. crazycommandocrik
Joined: 13 Apr 2012
Total Posts: 569
20 Jun 2013 12:25 PM
bump
Report Abuse
crazycommandocrik is not online. crazycommandocrik
Joined: 13 Apr 2012
Total Posts: 569
20 Jun 2013 02:40 PM
bump
Report Abuse
crazycommandocrik is not online. crazycommandocrik
Joined: 13 Apr 2012
Total Posts: 569
24 Jun 2013 02:25 PM
Bump
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