デフォルトUIを無効にする

*このコンテンツは、ベータ版のAI(人工知能)を使用して翻訳されており、エラーが含まれている可能性があります。このページを英語で表示するには、 こちら をクリックしてください。

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
すべてのRobloxゲームにおけるCore UI要素。
クライアントスクリプト - デフォルト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.

すべてのRobloxゲームにおけるタッチ対応デバイス用のUI要素。
クライアントスクリプト - タッチコントロールを無効にする

local GuiService = game:GetService("GuiService")
GuiService.TouchControlsEnabled = false
©2026 Roblox Corporation。Roblox(ロブロックス)、RobloxロゴおよびPowering Imaginationは、米国並びにその他の国における登録商標および非登録商標です。