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 help please!

Previous Thread :: Next Thread 
IJay2013 is not online. IJay2013
Joined: 27 May 2013
Total Posts: 178
29 Oct 2013 05:58 PM
Hi, i'm making a GUI, and it's almost done...But, i want a small tab, that on click drops down a smaller GUI. How would i do this?

-What would the script be?
-What basic objects are needed?
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
29 Oct 2013 06:02 PM
script.Parent.MouseButton1Click:connect(function()
-- code
end)
Report Abuse
IJay2013 is not online. IJay2013
Joined: 27 May 2013
Total Posts: 178
29 Oct 2013 06:03 PM
@Above would you mind partying me? Taking me step by step?
Report Abuse
Pillaged is not online. Pillaged
Joined: 14 Jul 2013
Total Posts: 59
29 Oct 2013 06:03 PM
Hierarchy:

ScreenGui
>TextButton
>>Script
>>Frame

Script:


debounce = false
script.Parent.MouseButton1Click:connect(function()
if debounce == false then
debounce = true
script.Parent.Frame.Visible = true
elseif debounce == true then
debounce = false
script.Parent.Frame.Visible = false
end
end)
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
29 Oct 2013 06:06 PM
He wants to make it drop down.

script.Parent.Frame:TweenSize(UDim2.new(x,x,y,y),Out,"Linear",1)

Use that to make it drop down.
Report Abuse
Pillaged is not online. Pillaged
Joined: 14 Jul 2013
Total Posts: 59
29 Oct 2013 06:07 PM
Oh, I thought he just wanted a drop down GUI not a drop down GUI that drops down, lol.
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
29 Oct 2013 06:07 PM
Lol xD
Report Abuse
MHebes is not online. MHebes
Joined: 04 Jan 2013
Total Posts: 2278
29 Oct 2013 06:09 PM
Even better would be to set the ClipsDescendants property on the dropping down GUI's background to true so it looks really fancy :)
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
29 Oct 2013 06:10 PM
What is this ClipsDescendants you speak of :o?
Report Abuse
MHebes is not online. MHebes
Joined: 04 Jan 2013
Total Posts: 2278
29 Oct 2013 06:15 PM
Oh you're about to have a GUIgasm like I did when I learned they made this a thing:
http://wiki.roblox.com/index.php/ClipsDescendants_(Property)
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
29 Oct 2013 06:18 PM
WTF OMG!!!!!!!!!!!!! GUIGASMK@!EHWSDVUEWB JS;oADNJORWBEHADbcibewsahidbhcrn sedz
Report Abuse
IJay2013 is not online. IJay2013
Joined: 27 May 2013
Total Posts: 178
29 Oct 2013 06:36 PM
I've made it a model, message me for the link to finish please!
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
29 Oct 2013 06:38 PM
That is a textbox not a textbutton.
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