New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
1

MPS:PlayerOwnsAsset vs MPS:UserOwnsGamePassAsync ?

Asked by
ABK2017 392 Moderation Voter
1 year 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 1 year 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