How To Add A VIP Tag To This Tag

So I have this owner tag which gives me an owner tag. I had another script that gives a VIP tag, but since I own the VIP gamepass it removes my owner tag. Is there a way to have them in the same script and not remove each other? Here’s my current script:

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

local tags = {
	[328118672] = {TagText = "Owner", TagColor = Color3.fromRGB(0, 0, 255)},
}

chatService.SpeakerAdded:Connect(function(playerName)
	local speaker = chatService:GetSpeaker(playerName)
	local player = game.Players[playerName]
	
	if tags[player.UserId] then
		speaker:SetExtraData("Tags",{tags[player.UserId]})
	end
end)
2 Likes

You can check out this tutorial that explains all about tags: How to add speaker tags in Roblox chat. But to answer your question: You can set mutiple tags via this method:

Speaker:SetExtraData('Tags', {{TagText = 'YourTagName', TagColor = Color3.fromRGB(0, 255, 42)}, {TagText = '2ndTagName', TagColor = Color3.fromRGB(234, 155, 16)}})
1 Like

How would I make a gamepass tag though?

2 Likes