Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Zindex not working?

Asked by
nicros 165
8 years ago

So ive got a Loading script and the ScreenGui for it placed in workspace, and ive got a HUD bar for my game placed in StarterGui, everything on the HUD has a lower Zindex than 6 and Everything for the Loading GUI has a Zindex of 10 but when i start the game the HUD shows above the Loading GUI. I dont understand why this is doing it and if im maybe supposed to do a step im missing since 1 is in StarterGui and 1 is in Workspace? Any help is appreicated

0
We seem to be in the same boat entirely at the same time such coincidence Zzzip42Strike 30 — 8y

1 answer

Log in to vote
1
Answered by
Validark 1580 Snack Break Moderation Voter
8 years ago

Don't quote me on this, but I believe when Gui objects are not placed all in one ScreenGui, they are not rendered at the same time, thus ignoring the ZIndexes across the two sets of Gui Objects. To fix this, place everything under one ScreenGui.

0
thanks, wierd tho that it chose the HUD to render on top, guess thats because its starterGui nicros 165 — 8y
Ad

Answer this question