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

How to disable default GUI ingame?

Asked by 7 years ago
Edited 7 years ago

I did this:

local StarterGui = game:GetService('StarterGui')
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)

It works, but only in studio.

(Normal script in ServerScriptService)

1 answer

Log in to vote
1
Answered by
RubenKan 3615 Moderation Voter Administrator Community Moderator
7 years ago

This should be a localscript in StarterPlayerScripts lol. That'll fix the problem.

0
Why did I not know that lol thx Programical 653 — 7y
Ad

Answer this question