Advertisement
Herobrinekid2

Custom chat tags

Jan 19th, 2023
3,178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | Source Code | 0 0
  1. local Service = game:GetService("TextChatService")
  2.  
  3.  
  4. Service.OnIncomingMessage = function(Message: TextChatMessage)
  5.    
  6.     local Props = Instance.new("TextChatMessageProperties")
  7.    
  8.     if Message.TextSource then
  9.         Props.PrefixText = "<font color='#ff0000'>Head dev</font>"..Message.PrefixText -- // Message.PrefixText / Message.TextSource.Name | Doesnt rlly matter.
  10.     end
  11.     return Props
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement