I am trying to script a gamepass giver by default if you own a gamepass.
game.Players.PlayerAdded:connect(function(player) while true do if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.userId, 6583996) then if player.Backpack:FindFirstChild("GreenBalloon") == nil and player.Character:FindFirstChild("GreenBalloon") == nil then print(player.Name .. " got an item!") local b = game.ServerStorage:FindFirstChild("GreenBalloon"):Clone() b.Parent = player.Backpack end end wait(1) end end)
that is the current script we have, but it worked in the old verision and not in the new version.
its in SS, i tried checking output but that wasnt of use.