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: How would you make a new gui appear over a cloned one?

Previous Thread :: Next Thread 
Ojia is not online. Ojia
Joined: 08 Feb 2012
Total Posts: 650
25 Jan 2015 10:22 AM
For example, I click a gui and a cloned one of the first one is put right under it, how would I make it so when I click it again, another one goes under the second one, and so on?
Report Abuse
Badfitz100 is not online. Badfitz100
Joined: 03 Nov 2010
Total Posts: 12591
25 Jan 2015 10:23 AM
zindex

Look at the flowers, Lennie
Report Abuse
Ojia is not online. Ojia
Joined: 08 Feb 2012
Total Posts: 650
25 Jan 2015 10:36 AM
No I meant 1 gui, when a button is clicked it gets cloned and it goes under it (When I mean under I mean right bellow), and the next gui goes under that one
Report Abuse
Looah is not online. Looah
Joined: 22 Feb 2013
Total Posts: 922
25 Jan 2015 10:38 AM
zindex
Report Abuse
Ojia is not online. Ojia
Joined: 08 Feb 2012
Total Posts: 650
25 Jan 2015 10:41 AM
No, picture the guis of layering on the forum, and what will I need ZIndex for?
Report Abuse
Ojia is not online. Ojia
Joined: 08 Feb 2012
Total Posts: 650
25 Jan 2015 10:49 AM
Can someone please help?
Report Abuse
Crythox is not online. Crythox
Joined: 03 Oct 2011
Total Posts: 1188
25 Jan 2015 11:11 AM
ZIndex. Set it higher or lower to set it's appearence.
Report Abuse
Ojia is not online. Ojia
Joined: 08 Feb 2012
Total Posts: 650
25 Jan 2015 11:21 AM
I dont want the guis to be on top of each other, I just want them layered from top to bottom
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
25 Jan 2015 11:23 AM
zindex


Oh wait, you said you didn't want them on top of each other, you want them on top of each other.


In that case, there is no solution.
Report Abuse
Ojia is not online. Ojia
Joined: 08 Feb 2012
Total Posts: 650
25 Jan 2015 11:38 AM
No, here's an example what I mean, how our posts is layered from top to bottom, like that
Report Abuse
Dynamese is not online. Dynamese
Joined: 24 May 2008
Total Posts: 126
25 Jan 2015 11:39 AM
Like in the explorer window?
Report Abuse
Badfitz100 is not online. Badfitz100
Joined: 03 Nov 2010
Total Posts: 12591
25 Jan 2015 11:40 AM
Like a list?

I seem to have forgotten to calculate the cubic sheet velocity through circular extention.
Report Abuse
DoAndDoOver is not online. DoAndDoOver
Joined: 06 Sep 2014
Total Posts: 628
25 Jan 2015 11:46 AM
he wants it like this


your screen:

[gui1]
[gui2]
[gui3]

so he needs help positioning guis
Report Abuse
Dynamese is not online. Dynamese
Joined: 24 May 2008
Total Posts: 126
25 Jan 2015 11:51 AM
@DoAndDoOver

In that case:

gui2.Position = gui1.Position + UDim2.new(0,0,0,gui1.Size.Y.Offset)

Hope that helps!
Report Abuse
Ojia is not online. Ojia
Joined: 08 Feb 2012
Total Posts: 650
25 Jan 2015 12:02 PM
Ok, is it compatible when you clone it it gets the recent one so the next one can go under the gui?
Report Abuse
Dynamese is not online. Dynamese
Joined: 24 May 2008
Total Posts: 126
25 Jan 2015 04:00 PM
gui1 = YOUR GUI

local NumberOfGuis = 0

for i = 1, NumberOfGuis do
local guiclone = gui1:Clone()
guiclone.Position = gui1.Position + UDim2.new(0,gui1.Size.X*i.Offset,0,gui1.Size.Y.Offset*i)
end

Does that work for you?
Report Abuse
Dynamese is not online. Dynamese
Joined: 24 May 2008
Total Posts: 126
25 Jan 2015 04:01 PM
Actually I made a mistake, corrected is below:

for i = 1, NumberOfGuis do
local guiclone = gui1:Clone()
guiclone.Position = gui1.Position + UDim2.new(0,0,0,gui1.Size.Y.Offset*i)
end

Report Abuse
DispenseTheDispenser is not online. DispenseTheDispenser
Joined: 20 Jun 2013
Total Posts: 2268
25 Jan 2015 04:18 PM
ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX
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