-- Thank you too @Katrist for Writing the script
local Players = game:GetService("Players")
local TextChatService = game:GetService("TextChatService")
local groupId = #### -- # Out Just Because
local tags = {
[255] = "<font color='#F5CD30'>[⚡God]</font>",
[254] = "<font color='#4287f5'>[🔨Developer]</font>",
[253] = "<font color='#4287f5'>[🔨Developer]</font>",
[214] = "<font color='#9c1df0'>[🛠️President]</font>",
[212] = "<font color='#9c1df0'>[🛠️Head of Staff]</font>",
[203] = "<font color='#2af0be'>[🌴Community manager]</font>",
[202] = "<font color='#9b1df0'>[🛠️Admin]</font>",
[200] = "<font color='#e1a9f5'>[🔧Moderator]</font>",
[111] = "<font color='#83feec'>[🛠️Affiliate]</font>",
[110] = "<font color='#ff8b07'>[🔥Partner]</font>",
[101] = "<font color='#F5CD30'>[⭐️Supporter]</font>",
[100] = "<font color='#63e848'>[✨Vip Dog]</font>",
}
TextChatService.OnIncomingMessage = function(message)
local props = Instance.new("TextChatMessageProperties")
if message.TextSource then
local player = Players:GetPlayerByUserId(message.TextSource.UserId)
local rank = player:GetRankInGroup(groupId)
if tags[rank] then
props.PrefixText = tags[rank] .." ".. message.PrefixText
end
end
return props
end
Quick details
Script in:
StarterPlayerScripts
Type of script:
Local script
(This is just information about the code, and where it is)
If some can you help me with that, that be a big help. (I’m not that good at scripting)