Keep in mind I’m not a scripter I got this from the toolbox, I just edited the gamepass ID and RBG
local gamepassId = 13157002 – Your gamepass id
local service = game:GetService(“MarketplaceService”)
game.Players.PlayerAdded:Connect(function(player)
if (service:UserOwnsGamePassAsync(player.UserId, gamepassId)) then – check if have gamepass
local tags = { -- table for tags
{ -- first tag
TagText = "VIP", -- Tag text
TagColor = Color3.fromRGB(255, 255, 0) -- TagColor
}
}
local ChatService = require(game:GetService("ServerScriptService"):WaitForChild("ChatServiceRunner").ChatService) -- Get chat service
-- Get speaker
local speaker = nil
while speaker == nil do
speaker = ChatService:GetSpeaker(player.Name)
if speaker ~= nil then break end
wait(0.01)
end
speaker:SetExtraData("Tags",tags) -- Set tags
speaker:SetExtraData("ChatColor",Color3.fromRGB(255, 255, 255)) -- Change chat color, and dont use BrickColor.new(...).Color
end