ChatService not Work Help me

I’ve tried looking on youtube. but there is no answer to this problem
don’t understand why this Chat Service is not running can anyone help me???

Script:

local ServerScriptService = game:GetService("ServerScriptService")
local ChatService = require(ServerScriptService:WaitForChild("ChatServiceRunner"):WaitForChild("ChatService"))
local Players = game:GetService("Players")
local Owner = {'ScriptBpm15'}

ChatService.SpeakerAdded:Connect(function(PlrName)
    local Speaker = ChatService:GetSpeaker(PlrName)
    for _, v in pairs(Owner) do
        if Players[PlrName].Name == v then
            Speaker:SetExtraData('Tags', {{TagText = "Role", TagColor = Color3.fromRGB(2, 245, 536)}})
        end
    end
end) 

Let me see the ChatService module please.

1 Like

image

I am not even sure that Module exists anymore beside in CoreGui. Let me search for a fix.
EDIT: It exists in legacy chat text service.

1 Like