How can I make the topbar disappear?

I have geniuenly tried everything, pcall, waiting for the game to load, everything. How the heck can I do it?

All posts are from like 2020, and aren’t working.

This is what I have:

local SGUI = game:GetService("StarterGui")

repeat
    local suc = pcall(SGUI.SetCore, SGUI, "TopbarEnabled", true)
    task.wait()
until (suc)

Hey! So there’s actually two things going wrong here.

First, quick typo - you’re passing true instead of false in your pcall, so you’re literally just enabling it over and over lol.

But even if you fix that, it still probably won’t work - SetCore("TopbarEnabled") is busted with Roblox’s new CoreGui. There’s an open bug report on the devforum from late 2024 and it’s still not fixed as of this year. So all those old posts from 2020 aren’t going to help you unfortunately.

What actually works right now is SetCoreGuiEnabled. Swap your script out for this:

local StarterGui = game:GetService("StarterGui")

while not pcall(function()
    StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
end) do
    task.wait()
end

There’s one more but I’ll let you figure it out. This post probably wasn’t helpful. LoL

I don’t think it is possible anymore

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.