Change name color in Chat

Hello!
I’m trying to create an owner tag & set my name to red, but it’s giving weird results.


LocalScript:

local TextChatService = game:GetService('TextChatService')
local Players = game:GetService('Players')

TextChatService.OnIncomingMessage = function(message: TextChatMessage)
	local properties = Instance.new('TextChatMessageProperties')

	if message.TextSource then
		local player = Players:GetPlayerByUserId(message.TextSource.UserId)
		if player.UserId == game.CreatorId then
			properties.PrefixText = '<font color="FF0000">🛠 '..player.DisplayName..':</font>'
		end
	end

	return properties
end

Results:
Tag


Does anyone know what I’m messing up?

The second color tag is missing # before the value. Should be #FF0000 instead it’s FF0000

Didnt even notice that, thank youu =)

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