Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

Default channel does not work with SwitchCurrentChannel?

Asked by 4 days ago
Edited 4 days ago

I'm trying to switch to the channel "All", which is the default one. But it says "Chat.ChatScript.ChatMain.ChatWindow:557: Channel 'All' does not exist."

Any ideas why?

GetChannel returns nil for some reason as well

local chat = game:GetService("Chat")
local chatModules = chat:WaitForChild("ClientChatModules")
local chatSettings = require(chatModules:WaitForChild("ChatSettings"))
local chatWindow = require(chat:WaitForChild("ChatScript"):WaitForChild("ChatMain"):WaitForChild("ChatWindow")).new()


chatSettings.ShowChannelsBar = true
chatSettings.EchoMessagesInGeneralChannel = false

chatWindow:SwitchCurrentChannel("All")

Answer this question