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

How do I disable normal chat?

Asked by
UPumpkin -34
5 years ago
local Chat = game:GetService("Chat")
local function setUpChatWindow()
    return { BubbleChatEnabled = true }
end
Chat:RegisterChatCallback(Enum.ChatCallbackType.OnCreatingChatWindow, setUpChatWindow)

I know this is how to add bubble chat, but how would I remove normal chat

2 answers

Log in to vote
3
Answered by 5 years ago

You should be able to do this the exact same way (via RegisterChatCallback). It is referred to as ClassicChat, and what you need to disable is ClassicChatEnabled.

local Chat = game:GetService("Chat")
local function setUpChatWindow()
    return { BubbleChatEnabled = true ; ClassicChatEnabled = false }
end
Chat:RegisterChatCallback(Enum.ChatCallbackType.OnCreatingChatWindow, setUpChatWindow)

This should do the trick. Note that if you disable both BubbleChat and ClassicChat - the text bar will not appear at all.

Ad
Log in to vote
0
Answered by 5 years ago

So first

Insert Object >> LocalScript >> StarterGui Next <<

<< Paste This Script In >>

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

0
This disables the chat as a whole. I think he wants to leave BubbleChat enabled while disabling ClassicChat. SummerEquinox 643 — 5y
0
y doesn't he just do it on the w e b s i t e though bhqpping 80 — 5y
0
Because that feature was removed. SummerEquinox 643 — 5y
0
Well this is screwed. namespace25 594 — 5y

Answer this question