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.
| デフォルトUI | 関連付けられた列挙体 |
|---|---|
| 動的に更新される Players リスト、一般的には リーダーボードとして使用されます。 | Enum.CoreGuiType.PlayerList |
| キャラクターの Health バー。キャラクターの Humanoid がフルヘルスの場合は表示されません。 | Enum.CoreGuiType.Health |
| キャラクターの Backpack、これは ゲーム内ツールを含んでいます。バックパックに Tools がない場合は表示されません。 | Enum.CoreGuiType.Backpack |
| テキストチャットウィンドウ。 | Enum.CoreGuiType.Chat |
| キャラクターの エモート のポップアップメニュー。 | Enum.CoreGuiType.EmotesMenu |
| プレイヤーの視点または自身のキャラクターのビューを表示するウィンドウ。プレイヤーがRobloxメニューから 自己表示 を有効化しない限り表示されません。 | Enum.CoreGuiType.SelfView |
| 画面の右側にある スクリーンショットをキャプチャ ボタン。プレイヤーがRobloxメニューから キャプチャ を有効化しない限り表示されません。 | Enum.CoreGuiType.Captures |
| アバター切り替え はユーザーがプラットフォームアバターを変更することを可能にします。 | Enum.CoreGuiType.AvatarSwitcher |

クライアントスクリプト - デフォルトUI要素を無効にするlocal StarterGui = game:GetService("StarterGui")-- デフォルトのヘルスバーとバックパックを無効にする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.

クライアントスクリプト - タッチコントロールを無効にするlocal GuiService = game:GetService("GuiService")GuiService.TouchControlsEnabled = false