Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do i make a GUI stack on-top of each other?

How would i make a UI stack on-top of each other? Like a small notification screen, Then another notification screen comes up and tweens on-top of the other already existing notification screen

2 comments

0

add my disc and ill tell you, HugoRoblox #4646

0

like what do you mean? so you put gui's on top of each others?

2 answers

✓ Accepted answer

You could try get current UIs by using :GetChildren() then using it's position to reposition by 'X'.

Like so:

local movmentPosition = -30 -- change - to 30 if you want it going down, but keep it minus for up. Change value accordingly for how far up/down you want it.

for _,v in pairs(NotifcationFrame:GetChildren()) do -- change to where your notifcations are located
	if v:IsA('TextLabel') then -- change this to what you are using as a notification 
		v.Position = v.Position + UDim2.new(0,0,movmentPosition,0)
	end
end

If you get stuck and need help feel free to add my Discord: Josh K#2740

1 comment

0

Thanks. :)

Insert a frame ( or what you want ) into the "StarterGui". Then you can add your decorations to the first frame, etc and add a new position to a new frame and make the position over the other gui. If you want a script please ask me at discord ( HugoRoblox #4646 ). I didn't really get your question but if your question was to add gui's on top off each others then this is the answer.

This discussion is preserved as it was. New answers, comments, and votes are closed.