Chat Tag Not Displaying

image

ChatService.SpeakerAdded:Connect(function(Player)
	local Speaker = ChatService:GetSpeaker(Player)
	local Player = Players[Player]
	local TagsTS = {}
	local Tag = Tags[Player:GetRankInGroup(13738768)]

	if Tag ~= nil then
		table.insert(TagsTS, Tag[1])
	end

	if MarketplaceService:UserOwnsGamePassAsync(Player.UserId, 31881598) then
		table.insert(TagsTS, VipTag[1])
		Speaker:SetExtraData("ChatColor", Color3.fromRGB(0, 226, 226))
	end

	if #Tags >= 1 then
		Speaker:SetExtraData("Tags", TagsTS)
	end
end)

That should work

3 Likes

Alright this new script works, thanks for the help.

No problem, you can always DM me on dev forum for any help.

1 Like