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:
Does anyone know what I’m messing up?