Disable default UI

All Roblox games include several UI elements that are enabled by default. If you don't need any of these elements or if you want to replace them with your own creations, you can use the SetCoreGuiEnabled() method in a client‑side script with the associated Enum.CoreGuiType option.

Default UIAssociated enum
Dynamically updated Players list, commonly used as a leaderboard.Enum.CoreGuiType.PlayerList
The character's Health bar. Does not appear if the character's Humanoid is at full health.Enum.CoreGuiType.Health
The character's Backpack which contains in-game tools. Does not appear if there are no Tools in the backpack.Enum.CoreGuiType.Backpack
The text chat window.Enum.CoreGuiType.Chat
Popup menu of character emotes.Enum.CoreGuiType.EmotesMenu
A window displaying a player's perspective or view of their own character. Does not appear unless the player has enabled Self View from the Roblox menu.Enum.CoreGuiType.SelfView
A capture screenshot button along the right side of the screen. Does not appear unless the player has enabled Captures from the Roblox menu.Enum.CoreGuiType.Captures
The Avatar Switcher allows users to change their platform avatar.Enum.CoreGuiType.AvatarSwitcher
Core UI elements in every Roblox game.
Client Script - Disable Default UI Elements

local StarterGui = game:GetService("StarterGui")
-- Disable default health bar and backpack
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false)
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)

Additionally, devices with touch capabilities include a virtual thumbstick and a jump button by default. If desired, you can hide these elements by setting GuiService.TouchControlsEnabled to false in a client‑side script.

UI elements for touch-capable devices in every Roblox game.
Client Script - Disable Touch Controls

local GuiService = game:GetService("GuiService")
GuiService.TouchControlsEnabled = false
©2026 Roblox Corporation. Roblox, the Roblox logo and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.