Hello fellow developers! (Once Again)
I created this script so that I would have a chat tag in my game, but when I test it, the script doesn’t work.
local Players = game:GetService("Players")
local chatService:require(game.ServerScriptService:WaitForChild("ChatServiceRunner") :WaitForChild("ChatService")
chatService.SpeakerAdded:Connect(function(playerName)
local speaker = chatService:GetSpeaker(playerName)
speaker:SetExtraData("Tags",((TagText = "Staff", TagColor = Color3.fromRGB(255, 0, 0) )))
end)