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

Why am I getting this member error with ChatService?

local ChatService = game:GetService("Chat")
local Channel = ChatService:GetChannel("All")

The error "GetChannel is not a valid member of Chat" is returned when the script is ran, but I'm not sure why because GetChannel is a valid member of Chat.

1 answer

Because that isn't a member of the Chat service! The Chat service is made with C, just like every other objects. The objects created with "GetChannel" and other similar features are developer-made, using lua metatables. You cannot use those methods out of the context of the modules.

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