Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

MPS:PlayerOwnsAsset vs MPS:UserOwnsGamePassAsync ?

Asked by
ABK2017 406 Moderation Voter
6 years ago

Is the “player” and “specific user id” the only real difference between the above lines? Preference on one over the other for singular or multiple GP’s within the same script? Thanks for any info.

1 answer

Log in to vote
1
Answered by 6 years ago

You should use UserOwnsGamePassAsync over PlayerOwnsAsset for gamepasses as they are not considered "assets" anymore according to the wiki. As for the differences, I believe they are only like you said player/userId differences but obviously PlayerOwnsAsset can check for much more than gamepasses.

Ad

Answer this question