I have this script that is supposed to check if player has a game pass, but it doesn't work. Any ideas why?
1 | game.Players.PlayerAdded:connect( function (plr) |
2 | wait( 3 ) |
3 | if game:GetService( "MarketplaceService" ):UserOwnsGamePassAsync(plr.UserId, 7033725 ) then |
4 | print (plr.Name.. " has VIP" ) |
5 | end |
6 | end ) |
That is correct, or it may not be, try a few of these things and tell me if they work: