Hide Core GUI but keep custom GUI

I have seen some games (I think Arsenal maybe?) remove the Core GUI (Not just the chat and leaderboard, but also the exit button I think)

I have recreated this with a single line in a server-sided script in ServerScriptService, but I want to know how to keep my UI there. I say this because I still want my game to have an exit button lol, but remove the default Roblox “pause” menu thing and replace it with my own.

game:GetService("Players").PlayerAdded:Connect(function(plr) plr.PlayerGui.Name = "nomoregui" end)

I’ve searched all over the DevForum (And as of writing this, I am still searching) but have not found anything.

game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false) -- disables Core UI
game.Players.LocalPlayer.PLayerGui.Name = "UI" -- Removes other
1 Like

It worked! Thanks

character requirement

1 Like

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