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

Another GUI is in front of my Intro GUI! I already tried ZIndex. Can someone please help?

I made a Intro GUI for my game, but I also made a Health GUI for my game. When the Intro starts the Health GUI pops in front of the Intro GUI. I'm not sure how to fix this, because I already tried using ZIndex which didn't work. Someone please help me!

Here is how it looks like:

https://gyazo.com/14a00c803903d3021ae3db03b5ffa65a

3 comments

0

why use "but"?

0

The order of ScreenGuis can affect how they render as well

0

You're most likely using ZIndex incorrectly.

2 answers

✓ Accepted answer

ZIndex would work in this case. For example, let's say your intro frame is named Frame A, and your health gui is Frame B. To set Frame A infront of Frame B so Frame B cant be visible anymore, set Frame A's ZIndex to a number greater than Frame B's ZIndex. (If B's ZIndex was 1, set A's to 2). Please accept my answer if this helped!

Make it non-visible at the start and once it finishes loading, make it visible again.

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