Invisible GUI in Roblox Studio

Hello! I have a quick question, how to make GUI in Roblox Studio so that it is not visible and in the game and during the test it is normally visible.

5 Likes

There should be a button at the right of the script tabs called UI, just click that to toggle visibility. Alternatively, you can check/uncheck the ShowDevelopmentGui property of StarterGui.

3 Likes

I would like only selected GUIs to work like this

Unfortunately for that, you’d have to use scripts or plugins. The button I talked about above is a blanket-visibility (all-or-nothing). You can toggle the Enabled property of ScreenGuis, but you’d need a script to enable all of them when you playtest. Check out RunService functions, such as :IsRunning().

You would have to insert a script in StarterPlayerScripts similar to this

local RunService = game:GetService("RunService")
local Players = game:GetService("Players")

if RunService:IsStudio() then
Players.LocalPlayer.PlayerGui.ScreenGui.Visible = false
end
2 Likes