Ive tried setting the zindex by scripting as well as using the explorer, but it is not working. Here is the script I used: game.StarterGui.ScreenGui.Barsoutline.ZIndex=101 -- bars outline is an image label game.StarterGui.ScreenGui.Barsoutline.ImageLabel.ZIndex=23
When the game initializes, all the contents of StarterGui go to the PlayerGui which in the explorer is located under game.Players.playerName.PlayerGui
if this is a local script, you can use this to access the PlayerGui: game.Players.LocalPlayer.PlayerGui
. So emplementing that into your script:
local player = game.Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") playerGui.ScreenGui.Barsoutline.ZIndex = 101 playerGui.ScreenGui.Barsoutline.ImageLabel.ZIndex = 23
Hope this fixed your problem!