This is an Example I pulled from the Wiki. Its not working!
local StarterGui = game:GetService('StarterGui') StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
SetCoreGuiEnabled()
needs to be done in a localscript.
Nope, it's not a bug.That code works perfectly fine, however it needs to be in a localscript
in StarterGui
.(runs on the client instead of the server)
Have a good one.
local StarterGui = game:GetService('StarterGui') StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)