Hiding All Screen GUIs

I made a script that hides the guis i made

local Hide = script.Parent.Parent.Parent:WaitForChild("CarShop")

local Hide1 = script.Parent.Parent.Parent:WaitForChild("ScreenStuff");

script.Parent.MouseButton1Click:Connect(function()

Hide.Enabled = not Hide.Enabled

Hide1.Enabled = not Hide1.Enabled

end)

But im wondering how i can hide the roblox guis such as the message gui, home gui and player list gui?
that way the screen is completely empty except for the toggle button

You can Hide Roblox Core Gui (like the player list via SetCoreGuiEnabled)
For more Infos on how to use it:

Click Here

1 Like