Skip to content

PurchasesService

Service responsible for handling in-game purchases and ownership verification.

Inherits: Instance

Methods

PromptAsync(player: Player, assetID: number) → boolean

Prompt the purchase prompt to player

OwnsItemAsync(player: Player, assetID: number) → boolean

Checks asynchronously if the specified player owns the asset with the given asset ID.