I'm creating values in a player for easier game use, and the VIP(lines 10-14), bool values aren't being created or turned to true. I own these items and I don't know what is wrong.
local mps = game:GetService("MarketplaceService") function Validate(Players) if Players:IsInGroup(1200769) then local tag = Instance.new("BoolValue",Players) tag.Name = "RobloxStaff" tag.Value = true elseif mps:UserOwnsGamePassAsync(Players.UserId, 7222195) then local tag = Instance.new("BoolValue",Players) tag.Name = "VIP" tag.Value = true elseif Players:IsInGroup(4475945) then local tag = Instance.new("BoolValue",Players) tag.Name = "Fan" tag.Value = true elseif mps:UserOwnsGamePassAsync(Players.UserId, 0) then local tag = Instance.new("BoolValue",Players) tag.Name = "GPPACK1" tag.Value = true end end game.Players.PlayerAdded:Connect(Validate) for i,Player in pairs(game.Players:GetPlayers()) do Validate(Player) end
A silly mistake I'm creating a group game and I forgot to buy the pass