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 by using its name as a keyword.
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¶
Prompt → nil¶
Prompts the specified player to purchase the asset with the given asset ID.
OwnsItemAsync → boolean¶
Checks asynchronously if the specified player owns the asset with the given asset ID.