TextChannels is not a valid member of TextService

I’m trying to send a system message to a player, but I can’t figure out why something I see working for everyone else doesn’t work for me.

local players = game:GetService('Players')
local localplayer = players.LocalPlayer
local replicatedStorage = game:GetService('ReplicatedStorage')
local textService = game:GetService('TextService') 

replicatedStorage:WaitForChild('Commands').tellClient.OnClientEvent:Connect(function(msg)
	textService.TextChannels.RBXGeneral:DisplaySystemMessage(msg)
end)

Did you mean to use TextChatService?

1 Like