Custom Tag Script (Chat)

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 = message.TextSource
		if player.Name == "Cookie_DevX" then
			properties.PrefixText = "<font color='#a50000'>[Admin]</font> " .. message.PrefixText
		end
	end

	return properties
end

1 Like

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