ChatTags - An easy way to make a Custom Chat Tags!

Script link here

Showcase:

New TextChatService:
image

Old LegacyChatService
image

How to Setup:

  1. Download the ChatTags module and put it in your game (I recommend putting it in ServerScriptService)
  2. Require the module

Functions:

- Update(player:Player)
Updates the Player’s ChatTags.

- Add(player:Player, tagText:string, tagColor:Color3, Order:number)
If another Tags with the same order is found, it will overwrite the old one.

- Remove(player:Player, Order:number)
Remove a specific ChatTags from a specific Player.

- RemoveAll(player:Player)
Remove all ChatTags from a specific Player.

Configuration

- AutoUpdate
If set to true will update player’s tag everytime it changes.

- DefaultColor
This color will be chosen if you don’t put in any color when you add a new tag.

Latest Version: v1.0.0

12 Likes

can there be a script, where it assigns the developer of the game’s friends with a special chat tag called friends, instead of manually adding the ID of every single friend, for example if I made a friend today i ain’t gonna remember to add them so the script should check if that person is a friend of me and assign the role, I wanna know if that is possible and how to do it

3 Likes

You can use this script:

local Players = game:GetService('Players')
local ChatTags = require(script:WaitForChild('ChatTags')) --Replace this with the path to the ChatTags

local FriendTagTitle = '[Friend]'
local FriendTagColor = Color3.fromRGB(85, 255, 255)

local OwnerId = 0 --Replace this with the Developer's UserId

Players.PlayerAdded:Connect(function(player)
	local isFriendWithOwner = false
	
	pcall(function()
		isFriendWithOwner = player:IsFriendsWith(OwnerId)
	end)
	
	if isFriendWithOwner then
		ChatTags.Add(player,FriendTagTitle,FriendTagColor,1)
	end
end)
2 Likes

Loved your module!
I’m applying it to Anime Hatchers!

3 Likes