Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

It should remove Leaderboard, Chat, etc. but is this code out-dated because it doesn't work for me?

Asked by 8 years ago
local StarterGui = game:GetService("StarterGui")

function CoreEnabled ()
    StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
end

if StarterGui ~= nil then CoreEnabled() end

2 answers

Log in to vote
0
Answered by 8 years ago

SetCoreGuiEnabled only functions properly in a LocalScript

Use a LocalScript.

0
I alredy did, i found that on the wiki but it doesn't work, i copy'd the exact same code as it from the Local Script that's located in the Workspace. Razinox 0 — 8y
0
...localscripts don't work in workspace.. User#11893 186 — 8y
0
LocalScripts don't work in Workspace [2] User#6546 35 — 8y
Ad
Log in to vote
0
Answered by 8 years ago

It's an easy, 1 line code.

game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
0
Doesn't work for me sorry, idk what's wrong with it. Razinox 0 — 8y

Answer this question