I Read an article about the new chat tag addition…So i tried to test it but apparently it isn’t working for me?
Script:
local TextChatService = game:GetService("TextChatService")
local Players = game:GetService("Players")
TextChatService.OnIncomingMessage = function(Msg : TextChatMessage)
local Ppt = Instance.new("TextChatMessageProperties")
local SpeakerMessage = Msg.TextSource
if SpeakerMessage then
print("Speaker is there")
local Player = Players:GetPlayerByUserId(SpeakerMessage.UserId)
Ppt.PrefixText = "<font color='#507af8'>[Developer]</font> "..Msg.PrefixText
end
return Ppt
end
I can’t rn but just but just copy and paste the code in a Localsript inside starterplayerscript and and type stuff in chat u will see it doesn’t work nor does it print anything