My chat tags is not working for some reason

My chat tag is buggy and stuff. please help on it
here is the code

local ServerScriptService = game:GetService("ServerScriptService")
local ChatService = require(ServerScriptService:WaitForChild("ChatServiceRunner"):WaitForChild("ChatService"))
local Players = game:GetService("Players")

local tags = {
    [3] = {{TagText = "[S] Security", TagColor = Color3.fromRGB(255,0,0)}},
    [4] = {{TagText = "[A] Administrator ", TagColor = Color3.fromRGB(255, 0, 0)}}
    [5] = {{TagText = "[HOS] Head of Staff ", TagColor = Color3.fromRGB(0, 0, 0)}}
    [7] = {{TagText = "[DEV] Developer", TagColor = Color3.fromRGB(0, 0, 255)}}
    [8] = {{TagText = "[HD] Head Developer", TagColor = Color3.fromRGB(0, 0, 255)}}
    [254] = {{TagText = "[CF] Co Founder", TagColor = Color3.fromRGB(255, 170, 127)}}
    [255] = {{TagText = "[DEV] Developer", TagColor = Color3.fromRGB(85, 255, 255)}}
}

ChatService.SpeakerAdded:Connect(function(PlrName)
    local Speaker = ChatService:GetSpeaker(PlrName)
    local Player = Players[PlrName]
    local Tag = tags[Player:GetRankInGroup(11392204)

    if Tag then
        Speaker:SetExtraData("Tags", Tag)
    end
end)

On this part there should be a comma at the end here:

[3] = {{TagText = “[S] Security”, TagColor = Color3.fromRGB(255,0,0)}},
[4] = {{TagText = "[A] Administrator ", TagColor = Color3.fromRGB(255, 0, 0)}}
[5] = {{TagText = "[HOS] Head of Staff ", TagColor = Color3.fromRGB(0, 0, 0)}}
[7] = {{TagText = “[DEV] Developer”, TagColor = Color3.fromRGB(0, 0, 255)}}
[8] = {{TagText = “[HD] Head Developer”, TagColor = Color3.fromRGB(0, 0, 255)}}
[254] = {{TagText = “[CF] Co Founder”, TagColor = Color3.fromRGB(255, 170, 127)}}
[255] = {{TagText = “[DEV] Developer”, TagColor = Color3.fromRGB(85, 255, 255)}}

Also here it was not ended:

local Tag = tags[Player:GetRankInGroup(11392204)

Your script should end up looking like this with everything fixed.
local ServerScriptService = game:GetService("ServerScriptService")
local ChatService = require(ServerScriptService:WaitForChild("ChatServiceRunner"):WaitForChild("ChatService"))
local Players = game:GetService("Players")

local tags = {
	[3] = {{TagText = "[S] Security", TagColor = Color3.fromRGB(255,0,0)}},
	[4] = {{TagText = "[A] Administrator ", TagColor = Color3.fromRGB(255, 0, 0)}},
	[5] = {{TagText = "[HOS] Head of Staff ", TagColor = Color3.fromRGB(0, 0, 0)}},
	[7] = {{TagText = "[DEV] Developer", TagColor = Color3.fromRGB(0, 0, 255)}},
	[8] = {{TagText = "[HD] Head Developer", TagColor = Color3.fromRGB(0, 0, 255)}},
	[254] = {{TagText = "[CF] Co Founder", TagColor = Color3.fromRGB(255, 170, 127)}},
	[255] = {{TagText = "[DEV] Developer", TagColor = Color3.fromRGB(85, 255, 255)}},
}

ChatService.SpeakerAdded:Connect(function(PlrName)
	local Speaker = ChatService:GetSpeaker(PlrName)
	local Player = Players[PlrName]
	local Tag = tags[Player:GetRankInGroup(11392204)]

	if Tag then
		Speaker:SetExtraData("Tags", Tag)
	end
end)