Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

how do you make a gamepass script give you it if you just buy it without going to a new server?

I saw this happen on Miners Haven and haven't seen anything about it really so I was wondering how you could make somebody get a gamepass they bought if they are currently in a server when they buy it.

3 comments

0

Use MarketplaceService's PlayerOwnsAsset. Do not use GamepassService or any other service as they cache the result. With PlayerOwnsAsset, it will return true or false everytime they have the gamepass or not. http://wiki.roblox.com/index.php?title=API:Class/MarketplaceService/PlayerOwnsAsset

0

Thank you

0

c'mon if u have the answer y not just answer. commenting answers makes it so anyone who actually answers looks like a copier/is ignored :c

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.