Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you make a custom chat tag?

I would be happy if someone were to explain or show me with a script to me how "Speakers ", " ChatService" and more really works. I've tried many scripting with them but all of them seemed to failed. It would be really nice somebody could teach me to use them properly in order to make custom chat tags. Here is a script that I've tried, it's located in "ServerScriptService" and is a normal script. But refuses to work...


local CHatS = require(script.Parent:WaitForChild("ChatServiceRunner"):WaitForChild("ChatService"))

local GroupID, Supporter, Helper, SF, GroupMod, Dev, Owner = 4484070, 1, 254, 252, 252, 253, 255
local pLAY = game:GetService("Players")


pLAY.PlayerAdded:Connect(function(Player)
	print('found')
	wait(2)
	if Player:IsInGroup(GroupID) and Player:GetRankInGroup(GroupID) == Dev then
		print('alright')
	local Speak = CHatS:GetSpeaker(Player.Name)
	Speak:SetExtraData('Tags', {{ TagText = 'Developer', TagColor = Color3.new(1, 0, 1) }})
	
	end
end)

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.