How do I make Global System Messages inn the Chat?

  1. I’m trying to make a system to if a player gets a certain rare item, a global chat message through different servers is sent (like in donation games or rng games)
  1. I only know how to do server messages
  1. currently, the server message is sent if a remote event is triggered:

Server:

game.ReplicatedStorage.DeployServerMessage:FireAllClients("Message", rarityamount)

Local (in starterplayerscripts | weight just determines color):

game.ReplicatedStorage.DeployServerMessage.OnClientEvent:Connect(function(prefix, message, weight)
	local color
	if weight == 5 then
		color = Color3.new(0.65098, 1, 0.415686)
	elseif weight >= 1 and weight <= 4 then
		color = Color3.new(0.933333, 0.0196078, 1)
	elseif weight >= 0.6 and weight <= 0.9 then
		color = Color3.new(0.0313725, 1, 1)
	elseif weight >= 0.25 and weight <= 0.5 then
		color = Color3.new(1, 0.968627, 0)
	elseif weight >= 0.07 and weight <= 0.24 then
		color = Color3.new(1, 0.45098, 0)
	elseif weight <= 0.06 then
		color = Color3.new(0.937255, 0, 0.0156863)
	end

	local messageText = string.format("<font color=\"rgb(%d, %d, %d)\">%s</font>", color.R * 255, color.G * 255, color.B * 255, prefix..": "..message)
	game.TextChatService.TextChannels.RBXGeneral:DisplaySystemMessage(messageText)
end)

I was just curious to see how i can implement a global message system with text colors and such

I would recommend that you have a look at MessagingService. It is what you should use for anything global!