How can I hide the chat button?

How can I make it so when a player joins the game, the chat and the chat button don’t show up?
image
also it’s this button. You know, the one that hides / shows chat once you click on it.
BTW I don’t want to turn off bubble chat or disable chat entirely.

You can do this by creating a local-script in ReplicatedFirst, using this code:

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

Please note that you cannot hide the chat button if you want to keep bubble chat, you can only hide the button if you disable chat entirely.

3 Likes