Chat Tags from the roblox's new TextChatService are not working properly

I used the roblox’s new TextChatService chat tags to add some customization to the chat but it the script doesn’t seem to work.

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

local GroupRanks = {
	["Owner"] = "#cf5f57",
	["Developer"] = "#ff7201",
	
}

TextChatService.OnIncomingMessage = function(message: TextChatMessage)
	local props = Instance.new("TextChatMessageProperties")

	if message.TextSource then
		local player = Players:GetPlayerByUserId(message.TextSource.UserId)

		for Attribute, Color in pairs(GroupRanks) do
			if player:GetAttribute(Attribute) == true then
				props.PrefixText = "<font color="..tostring(Color)..">["..tostring(Attribute).."]</font> " .. message.PrefixText
			end
		end
	end
end

And there’s no error inside the output.