How to disable ChatWindow but not ChatBar

Inside a local script in ReplicatedFirst:

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