Hi!
In my game, when a player purchases an event, the server makes a message in the chat.
I am not sure how I would make the chat a different colour, other than white.
Basically, I am using a remote event from Server Scripts so that they can fire the event to all of the clients to display a chat message in each clients chat window.
Here is the script for each client:
local ChatMessage = game.ReplicatedStorage:WaitForChild("ChatMessage")
local function MessageFunction(playerWhoFired, message)
game.StarterGui:SetCore("ChatMakeSystemMessage", {Text = "[SERVER] "..playerWhoFired.Name.." "..message})
end
ChatMessage.OnClientEvent:Connect(MessageFunction)
This works great, I just want to know how to change the colour of the message.
Thanks,
Harry.