Hi, does anyone knows how to make system messages with using old chat service? Please, help!
--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")
I will try this out. Thank you!
Thank you, but these 2 methods doesn’t working, it doesn’t send any messages in the chat.
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
?
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?
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.
Ok, I will try this, but not rn
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.