Chat Script won't work

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)

maybe change this to replicatedstorage or ReplicatedStorage

I’ll try it out. We’ll see what happens!

Edit: Still didn’t work