You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I want to fix my zindex gui problem
What is the issue? Include screenshots / videos if possible!
So basically i have 2 screen guis and the one screen gui has a textlabel in it with the zindex of 9 and in the other screen gui it has a frame with the zindex of 1 and when i enable both screenguis the frame (with a zindex of 1) goes overtop of the textlabel (with a zindex of 9) Idk if this is because they are 2 different screen guis but idk how to fix it
What solutions have you tried so far? Did you look for solutions on the Developer Hub? I have tried YT and Devforum.
Yea it is. ZIndex doesn’t really matter here, what does is the LayoutOrder of the ScreenGuis. The one with a higher LayoutOrder will overlap the other
The higher the DisplayOrder the higher the ScreenGui will be put.
Same goes for ZIndex, but ZIndex is for objects inside the ScreenGui itself.
With ZIndex, you can have the ScreenGui’s ZIndex behavior be either Global or Sibling
In the images bellow:
Both hierarchies are the same, meaning we only changed the ScreenGui’s ZIndexBehavior property
Hierarchy:
Results with both ZIndex behaviors
(it may depend on which frame’s ZIndex was first changed btw)