Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you make a custom chat tag?

Asked by 4 years ago

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

Log in to vote
0
Answered by
Markdrg 15
4 years ago

Put the script in Starter Player

Ad

Answer this question