PurchasesService¶
Inherits Instance
Service responsible for handling in-game purchases and ownership verification.
Static Class
This object is a static class. It can be accessed like this: Purchases.
Additionally, it cannot be created in the creator menu or with Instance.New().
Not newable
This object cannot be created by scripts using Instance.New().
Methods¶
PromptAsync → boolean¶
Prompt the purchase prompt to player
OwnsItemAsync → boolean¶
Checks asynchronously if the specified player owns the asset with the given asset ID.