How do I remove the default Roblox hotbar?

So in my game I’ve added a custom Hotbar which is good but of course the default Hotbar isn’t gonna remove itself so how would I go about removing the default Hotbar so it doesn’t cover up my new custom one?


You have to use the SetCoreGuiEnabled function.


game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)

1 Like

Where would I place this script?

Also, I looked up the SetCoreGuiEnabled function when I posted this and I saw this script, do I use the one you listed or use this one below?

local StarterGui = game:GetService(“StarterGui”)
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)

Inside a local script. Doesn’t really matter where, but I’d probably just put it in starter player scripts.

It removed the whole hotbar thing not just the gui, how would I make the hotbar work but without the default hotbar guis?