I’m trying to figure out how to create a “server announcement” type of message in the chat. I’ve tried following YouTube videos and other DevForum posts but none work.
LocalScript:
game.ReplicatedStorage.SendMsg.OnClientEvent:Connect(function(config)
print(config)
game.StarterGui:SetCore(
"ChatMakeSystemMessage", {
Text = "["..config.Name.."]: "..config.Text,
Color = config.Color,
Font = config.Font,
FontSize = config.FontSize
}
)
print("i did it")
end)
If you are using TextChatService, ChatMakeSystemMessage will not work, so you would need to use the Legacy Chat, if you want to use it for TextChatService. you need to have All Clients Detect the Change from a RemoteEvent, and fire :DisplaySystemMessage() within the Desired TextChannel