Hi! I have created a easy chattag module for you guys to use or tryout.
Module: ChatTag Module - Roblox
Things to Know:
- This only works on “LegacyChatService” in TextChatService
- If there is any ways to IMPROVE this please let me know.
Setup:
- Get the module and put it in “ReplicatedStorage” or “ServerScriptService”
At the top you should see these
Information[1] = { -- Put your UseridHere
["Tags"] = {
[1] = {
["TagText"] = "ROBLOX",
["TagColor"] = Color3.fromRGB(255, 85, 0)
},
-- Second chattag
[2] = {
["TagText"] = "SECOND",
["TagColor"] = Color3.fromRGB(255, 85, 0)
},
},
}
Where it says “Put your UserId Here”
Information[556628160] = { -- Put your Userid Here
["Tags"] = {
[1] = {
["TagText"] = "ROBLOX",
["TagColor"] = Color3.fromRGB(255, 85, 0)
- Create a Script in “ServerScriptService”
This script is basically the loader.
local ChatTagModule = require(game.ReplicatedStorage.ChatTags)
for i,v in pairs(game.Players:GetPlayers()) do
ChatTagModule.Apply(v)
end
game.Players.PlayerAdded:Connect(function(player)
ChatTagModule.Apply(player)
end)
Make sure when your defining
local ChatTagModule = require(game.ReplicatedStorage.ChatTags)
Make sure the path is right.
Also im kinda new to this so bare with me if im not doing anything right.