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

How to remove chat script default by ROBLOX chat?

Asked by 7 years ago

I have created this script with refernce from wiki.roblox.com

local StarterGui = game:GetService('StarterGui')

StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, false)

I am trying to disable chat but it will only disable when I click test run. It will not disable in the real game when you click play?

Anyone explain?

0
Where did you put this script? User#5423 17 — 7y
0
Server Script Service Glassify 15 — 7y
1
Put the script in start gui. And use script.parent. Because you are using locals on a "startgui" I think, u needed to use the "PlayerGUI". Difined_Person 61 — 7y
0
it Works As Of 2018 User#25068 0 — 5y
0
Go to the chat service and turn off load default chat, then you don't need a script hogging up resorces and it doesn't begin to load User#26182 0 — 5y

1 answer

Log in to vote
1
Answered by 7 years ago
Edited 7 years ago

As SetCoreGuiEnabled explains, it must be a LocalScript. Note that LocalScripts can only run in certain places, as explained in the wiki entry for LocalScript.

Ad

Answer this question