Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I disable normal chat?

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

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.

So first

Insert Object >> LocalScript >> StarterGui Next <<

<< Paste This Script In >>

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

4 comments

0

This disables the chat as a whole. I think he wants to leave BubbleChat enabled while disabling ClassicChat.

0

y doesn't he just do it on the w e b s i t e though

0

Because that feature was removed.

0

Well this is screwed.

This discussion is preserved as it was. New answers, comments, and votes are closed.