How would I change the color of this chat message with TextChatService?

I’m trying to make a chat message that appears when a player gets a new record in an obby for a game with TextChatService, but I don’t want the message to appear white. How would I change the color of it?

Here’s my script so far (StarterPlayerScripts):

game.ReplicatedStorage.RemoteEvents.CompletedObby.OnClientEvent:Connect(function(PlayerName, TimerText, ObbyName, Difficulty)
	game.TextChatService.TextChannels.RBXGeneral:DisplaySystemMessage("[Server]: "..PlayerName.." got a record of "..TimerText.." on "..ObbyName)
end)

This post may help:

Thanks, this fixed my problem.

1 Like

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