How can I hide the top bar?

  1. What do you want to achieve?
    When showing my loading screen, I would like to hide the top bar so people don’t see into the world.

  2. What is the issue?
    See screenshot.
    Top bar is visible even though i run this code in a local script:

local _starterGui = game:GetService(“StarterGui”)
_starterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
_starterGui:SetCore(“ChatWindowPosition”, UDim2.new(0,0,0.5,0))
_starterGui:SetCore(“TopbarEnabled”, false)

  1. What solutions have you tried so far?

See code above.

You might want to take a look at this property: ScreenGui | Documentation - Roblox Creator Hub

Hope I helped!

2 Likes

Awesome, that did it! Thank you so much!!

1 Like