Disabling Default UI

*Ce contenu sera bientôt disponible dans la langue que vous avez sélectionnée.

All Roblox experiences 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‑experience 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 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
Core UI elements in every Roblox experience.
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 experience
Client Script - Disable Touch Controls

local GuiService = game:GetService("GuiService")
GuiService.TouchControlsEnabled = false