game.Players.PlayerAdded:Connect(function(player)
local tags = Instance.new("Folder", player)
tags.Name = "Tags"
if (service:UserOwnsGamePassAsync(player.UserId, gamepassId)) then
local newTag = Instance.new("IntValue", tags)
newTag.Name = "VIP"
local chatColor = Instance.new("Color3Value", newTag)
chatColor.Name = "ChatColor"
chatColor.Value = BrickColor.new("Gold").Color
local tagColor = Instance.new("Color3Value", newTag)
tagColor.Name = "TagColor"
tagColor.Value = Color3.fromRGB(239, 184, 56)
end
end)
this is what i have done but it does not work can someone help me make a rainbow game pass chat name script

1 comment
when game runs, there is a module created in server script service, its inside chatservicerunner (chatservicerunner module only shows when you start the game) called Chatservice. You can use that and use :SetExtraData() on it and put your preferences, Here is a video for more explanation https://www.youtube.com/watch?v=eP42X2NlJ0M