How to send system messages in the chat? (Old chat version)

Hi, does anyone knows how to make system messages with using old chat service? Please, help!

1 Like
--in a LocalScript

game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", {
    Text = "TextHere",
    Color = Color3.fromRGB(255, 0, 0),
    Font = Enum.Font.Michroma,
    FontSize = Enum.FontSize.Size24
})

(all of these are customizable)

I prefer the new chat, you should probably use it too. For new chat:

game:GetService("TextChatService").TextChannels.RBXGeneral:DisplaySystemMessage("MessageHere")
4 Likes

I will try this out. Thank you!

2 Likes

Thank you, but these 2 methods doesn’t working, it doesn’t send any messages in the chat.

1 Like

The top one should work, but the bottom one is for the new chat. I tested the top one, and it worked fine.

Check the Properties tab of the TextChatService. Is it TextChatService or LegacyChatService?

1 Like

I swithed it to Legacy for the first script, and then switched to TextChat one for the 2nd

Legacy works for the top one, Text works for the bottom one, both are tested. Are you sure it doesn’t work?

Yea


Also I’ve tried the 2nd one, and it’s not showing anything too

PlayerAdded won’t fire for your player on the client. Just try typing it in the command line (the display command) and see if it works. I’ve tested both and they work fine.

If you really need to, use a RemoteEvent from the server to tell the client when to display what.

1 Like

Ok, I will try this, but not rn

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.