The service responsible for in-experience transactions.
- Memory category
- Instances
- Own members
- 129
- Inherited members
- 75
- Subclasses
- 0
- Siblings
- 608
Properties23
Property categoryBehavior
- Determines if an
Instanceand its descendants can be cloned usingInstance:Clone(), and can be saved/published. - Deprecated: This deprecated property is a variant of
Instance.Archivablewhich should be used instead.Use Archivable instead.
Property categoryData
Property categoryPermissions
- The set of capabilities allowed to be used for scripts inside this container.
- Indicates whether the instance is inside a sandboxed container.
- When enabled, the instance can only access abilities in its
Capabilitieslist.
No properties match the filters.
Methods116
Object:GetPropertyChangedSignal( property: string): RBXScriptSignal Get an event that fires when a given property of the object changes.Parameters Parameter Description property: stringThe property to connect to.Returns Type Description RBXScriptSignalA signal that fires whenever the property changes.- Returns true if an object's class matches or inherits from a given class.
Parameters Parameter Description className: stringThe class against which the Object's class will be checked. Case-sensitive.Returns Type Description booleanDescribes whether the Object's class matched or is a subclass of the given class. - Deprecated: This deprecated function is a variant of
Object:IsA()which should be used instead.Parameters Parameter className: stringReturns Type booleanUse IsA instead.
- Applies a tag to the instance.
Parameters Parameter Description tag: stringThe tag to apply to the instance. - This method destroys all of an instance's children.
- Create a copy of an instance and all its descendants, ignoring instances that are not
Archivable.Returns Type Description InstanceA copy of the instance, ornilif the instance is notArchivable. - Sets the
Instance.Parentproperty tonil, locks theInstance.Parentproperty, disconnects all connections, and callsDestroy()on all children. Instance:FindFirstAncestor( name: string): Instance Returns the first ancestor of theInstancewhoseInstance.Nameis equal to the given name.Parameters Parameter Description name: stringTheInstance.Nameto be looked for.Instance:FindFirstAncestorOfClass( className: string): Instance Returns the first ancestor of theInstancewhoseObject.ClassNameis equal to the given className.Parameters Parameter Description className: stringTheObject.ClassNameto be looked for.Instance:FindFirstAncestorWhichIsA( className: string): Instance Returns the first ancestor of theInstancefor whomObject:IsA()returns true for the given className.Parameters Parameter Description className: stringTheObject.ClassNameto be looked for.Instance:FindFirstChild( name: string, recursive: boolean? = false): Instance Returns the first child of theInstancefound with the given name.Parameters Parameter Description name: stringTheInstance.Nameto be searched for.recursive: boolean? = falseWhether or not the search should be conducted recursively.Instance:FindFirstChildOfClass( className: string): Instance Parameters Parameter Description className: stringTheObject.ClassNameto be looked for.Instance:FindFirstChildWhichIsA(className: string,recursive: boolean? = false,): Instance Returns the first child of theInstancefor whomObject:IsA()returns true for the given className.Parameters Parameter Description className: stringTheObject.ClassNameto be searched for.recursive: boolean? = falseWhether or not the search should be conducted recursively.Instance:FindFirstDescendant( name: string): Instance Returns the first descendant found with the givenInstance.Name.Parameters Parameter Description name: stringTheInstance.Nameto search for.- Returns the
Actorassociated with the Instance, if any. Instance:GetAttribute( attribute: string): any Returns the value which has been assigned to the given attribute name.Parameters Parameter Description attribute: stringThe name of the attribute being retrieved.Returns Type Description anyThe value which has been assigned to the given attribute name. If no attribute has been assigned,nilis returned.Instance:GetAttributeChangedSignal( attribute: string): RBXScriptSignal Returns an event that fires when the given attribute changes.Parameters Parameter Description attribute: stringThe name of the specified attribute for which the change signal is being returned.Returns Type Description RBXScriptSignalAn event that fires when the given attribute changes.- Returns a dictionary of the instance's attributes.
Returns Type Description { [string]: any }A dictionary of string → variant pairs for each attribute where the string is the name of the attribute and the variant is a non-nil value. - Returns an array containing all of the instance's children.
Returns Type Description { Instance }An array containing the instance's children. Instance:GetDebugId( scopeLength: number? = 4): string Returns a coded string of the debug ID used internally by Roblox.Parameters Parameter Description scopeLength: number? = 4The scope length.Returns Type Description stringThe Debug ID string.- Returns an array containing all of the descendants of the instance.
Returns Type Description { Instance }An array containing the instance's descendants. - Returns a string describing the instance's ancestry.
- Returns the styled or explicitly modified value of the specified property, or else the default property value if it hasn't been styled/modified.
Parameters Parameter Description name: stringName of the property to query.selector: string?Optional selector for the pseudo instance you are targeting on the instance.Returns Type Description anyThe styled or explicitly modified value of the specified property, or else the default property value if it hasn't been styled/modified. Instance:GetStyledPropertyChangedSignal( property: string): RBXScriptSignal Returns an event that fires when the given style property changes on the instance.Parameters Parameter Description property: stringName of the style property for which to listen for changes.Returns Type Description RBXScriptSignalEvent that fires when the given style property changes.- Gets an array of all tags applied to the instance.
Returns Type Description { any }An array of strings, each representing a tag applied to the instance. - Check whether the instance has a given tag.
Parameters Parameter Description tag: stringThe tag to check for on the instance.Returns Type Description booleantrueif the instance has the given tag,falseotherwise. Instance:IsAncestorOf( descendant: Instance): boolean Returns true if anInstanceis an ancestor of the given descendant.Instance:IsDescendantOf( ancestor: Instance): boolean Returnstrueif anInstanceis a descendant of the given ancestor.Instance:IsPropertyModified( property: string): boolean Returnstrueif the value stored in the specified property is not equal to the code-instantiated default.Parameters Parameter Description property: stringName of the property to query.Returns Type Description booleanBoolean indicating whether the property is modified from its code‑instantiated default.Instance:QueryDescendants( selector: string): { Instance } Returns an array containing all descendants of the instance that match theselectorstring.Parameters Parameter Description selector: stringSelector string used to filter elements.Returns Type Description { Instance }An array of instances (empty if nothing matched the selector).- Removes a tag from the instance.
Parameters Parameter Description tag: stringThe tag to remove from the instance. Instance:ResetPropertyToDefault( property: string) Resets a property to its default value.Parameters Parameter Description property: stringName of the property to reset.Instance:SetAttribute( attribute: string, value: any) Sets the attribute with the given name to the given value.Instance:WaitForChild( childName: string, timeOut: number): Instance Returns the child of theInstancewith the given name. If the child does not exist, it will yield the current thread until it does.Parameters Parameter Description childName: stringTheInstance.Nameto be looked for.timeOut: numberAn optional time out parameter.- Deprecated: This item is deprecated in favor of
Instance:Destroy()andInstance:ClearAllChildren(). If you must remove an object from the game, and wish to use the object later, set itsParentproperty tonilinstead of using this method.
Sets the object'sParenttonil, and does the same for all its descendants. - Deprecated: This item has been superseded by
Instance:GetChildren()which should be used in all new work.
Returns an array of the object's children.Returns Type Description { Instance }Array of child objects/instances.Use GetChildren instead.
- Deprecated: This deprecated function is a variant of
Instance:Clone()which should be used instead.Returns Type InstanceUse Clone instead.
- Deprecated: This deprecated function is a variant of
Instance:Destroy()which should be used instead.Use Destroy instead.
Instance:findFirstChild( name: string, recursive: boolean? = false): Instance Deprecated: This deprecated function is a variant ofInstance:FindFirstChild()which should be used instead.Returns Type InstanceUse FindFirstChild instead.
- Deprecated: This deprecated function is a variant of
Instance:GetChildren()which should be used instead.Returns Type { Instance }Use GetChildren instead.
Instance:isDescendantOf( ancestor: Instance): boolean Deprecated: This deprecated function is a variant ofInstance:IsDescendantOf()which should be used instead.Parameters Parameter ancestor: InstanceReturns Type booleanUse IsDescendantOf instead.
- Deprecated: This deprecated function is a variant of
Instance:Remove()which has also been deprecated. Neither function should be used in new work.Use Remove instead.
Defined byMarketplaceService74
MarketplaceService:BindReceiptHandler(transactionType: Enum.ReceiptType,handler: (...any) -> ...any,filter: { any }?,): RBXScriptConnection Registers a callback to process receipts of a specific type.Parameters Parameter Description transactionType: Enum.ReceiptTypeTheReceiptTypeindicating which kind of receipt to handle.handler: (...any) -> ...anyA callback function that receives a receipt info dictionary and must return anReceiptDecisionvalue.filter: { any }?An optional array of product IDs. When provided, the handler only fires for receipts matching those product IDs. Not supported forRobuxTransferSenderorRobuxTransferReceiverreceipt types.Returns Type Description RBXScriptConnectionARBXScriptConnectionthat can be disconnected to unregister the handler.MarketplaceService:CanUsersTransferRobuxAsync(sender: Player,receiverUser: User,): Enum.RobuxTransferEligibility Returns Type Enum.RobuxTransferEligibilityParameters Parameter productType: stringReturns Type { any }MarketplaceService:GetDeveloperProductsAsync( ): Instance Returns aPagesobject which contains information for all of the current experience's developer products.MarketplaceService:GetPassOwnershipAsync(user: Player,gamePassId: number,): { [string]: any } Returns Type { [string]: any }MarketplaceService:GetProductInfoAsync(assetId: number,infoType: Enum.InfoType? = Enum.InfoType.Asset,): { [string]: any } Returns the product information of an asset using its asset ID.Parameters Parameter Description assetId: numberThe asset ID of the specified product.infoType: Enum.InfoType? = Enum.InfoType.AssetAnInfoTypeenum value specifying the type of information being retrieved.Returns Type Description { [string]: any }A dictionary containing information about the queried item, described in the previous tables.MarketplaceService:GetRobloxSubscriptionDetailsAsync( user: Player): { [string]: any } Returns the subscription details for the given user for the Roblox Subscription ecosystem.Parameters Parameter Description user: PlayerThe user regarding whom to check the subscription status.Returns Type Description { [string]: any }A dictionary containing subscription details such asIsSubscribed,IsOriginExperience, and optionallyStartTime.MarketplaceService:GetRobuxBalance( ): number Returns Type numberMarketplaceService:GetSubscriptionProductInfoAsync( subscriptionId: string): { [string]: any } Returns the product information of a subscription for the givensubscriptionId.Parameters Parameter Description subscriptionId: stringThe ID of the subscription to check.Returns Type Description { [string]: any }A dictionary containing the subscription product information described in the following table.MarketplaceService:GetSubscriptionPurchaseInfoAsync( subscriptionId: string): { [string]: any } Parameters Parameter subscriptionId: stringReturns Type { [string]: any }- Returns the regionalized price levels of users, representing the recommended price for an item in each user's regional market.
Parameters Parameter Description userIds: { any }An array of user IDs.Returns Type Description { any }Returns an array ofPriceLevelInfoobjects with a dictionary where the keys are user IDs (strings) and their values are the corresponding price levels (integers between 1 and 1000). MarketplaceService:GetUserSubscriptionDetailsAsync(user: Player,subscriptionId: string,): { [string]: any } Returns a table that contains the details of the user's subscription for a givensubscriptionId.Parameters Parameter Description user: PlayerThePlayerobject whose subscription details you want to check.subscriptionId: stringThe ID of the subscription to check.Returns Type Description { [string]: any }A dictionary containing the user's subscription details described in the following table.MarketplaceService:GetUserSubscriptionDetailsInternalAsync( subscriptionId: string): { [string]: any } Parameters Parameter subscriptionId: stringReturns Type { [string]: any }MarketplaceService:GetUserSubscriptionPaymentHistoryAsync(user: Player,subscriptionId: string,): { any } Returns anArraythat contains up to one year of the user's subscription payment history for the givensubscriptionId.Parameters Parameter Description user: PlayerThePlayerwhose subscription payment history you want to retrieve.subscriptionId: stringThe ID of the subscription whose payment history you want to retrieve.Returns Type Description { any }An array of payment-history entries, ordered from most recent to least recent, as described in the following table.MarketplaceService:GetUserSubscriptionStatusAsync(user: Player,subscriptionId: string,): { [string]: any } Returns atablethat contains the subscription status of the user for the givensubscriptionId.Parameters Parameter Description user: PlayerThePlayerobject whose subscription status you want to check.subscriptionId: stringThe ID of the subscription to check for.Returns Type Description { [string]: any }A dictionary containing the user's subscription status described in the following table.MarketplaceService:IsPurchaseSimulated( ): boolean Returns Type booleanMarketplaceService:OpenShop( player: Player) Opens a personalized in-game Shop for the given player.Parameters Parameter Description player: PlayerThePlayerfor whom to open the shop. If called from aLocalScript, this must be the local player.MarketplaceService:PerformBulkPurchase(orderRequest: { [string]: any },options: { [string]: any },): { [string]: any } Parameters Parameter orderRequest: { [string]: any }options: { [string]: any }Returns Type { [string]: any }MarketplaceService:PerformCancelSubscription( subscriptionId: string) Parameters Parameter subscriptionId: stringMarketplaceService:PerformPurchase(infoType: Enum.InfoType,productId: number,expectedPrice: number,requestId: string,isRobloxPurchase: boolean,collectibleItemId: string? = "",collectibleProductId: string? = "",idempotencyKey: string? = "",purchaseAuthToken: string? = "",timedOptionsDays: number? = 0,purchasePayload: string? = "",purchaseOptions: { [string]: any }? = nil,): { [string]: any } Parameters Parameter infoType: Enum.InfoTypeproductId: numberexpectedPrice: numberrequestId: stringisRobloxPurchase: booleancollectibleItemId: string? = ""collectibleProductId: string? = ""idempotencyKey: string? = ""purchaseAuthToken: string? = ""timedOptionsDays: number? = 0purchasePayload: string? = ""purchaseOptions: { [string]: any }? = nilReturns Type { [string]: any }MarketplaceService:PerformPurchaseV2(infoType: Enum.InfoType,productId: number,expectedPrice: number,requestId: string,isRobloxPurchase: boolean,collectiblesProductDetails: { [string]: any },): { [string]: any } Parameters Parameter infoType: Enum.InfoTypeproductId: numberexpectedPrice: numberrequestId: stringisRobloxPurchase: booleancollectiblesProductDetails: { [string]: any }Returns Type { [string]: any }Parameters Parameter subscriptionId: stringReturns Type stringParameters Parameter player: InstanceReturns Type boolean- Returns whether the given user has the given asset.
Parameters Parameter Description player: InstanceThePlayerwhose inventory is tested for ownership of the given asset.assetId: numberThe asset ID for which the given player's inventory is tested.Returns Type Description booleanIndicates whether the given player's inventory contains the given asset. - Returns whether the given player owns the given bundle.
Parameters Parameter Description player: PlayerThePlayerwhose inventory is tested for ownership of the given bundle.bundleId: numberThe bundle ID for which the given player's inventory is tested.Returns Type Description booleanIndicates whether the given player's inventory contains the given bundle. MarketplaceService:PromptBulkPurchase(player: Player,lineItems: { any },options: { [string]: any },) Prompts a user to purchase multiple avatar items with the givenassetIdorbundleId.Parameters Parameter Description player: PlayerThe user to prompt to purchase items.lineItems: { any }An array of avatar items to be included in the bulk purchase. Each line item contains the following structure:
Each line item contains the following pairs:{ Type: MarketplaceProductType, Id: string, PurchaseOptions: { {Type: PurchaseOption, Value: number?} }? }Type: The correspondingMarketplaceProductType(Enum).Id: The ID of the asset or bundle.PurchaseOptions: Optional. An array containing a single purchase option to display in the prompt. If omitted, the permanent purchase is prompted. See the PurchaseOptions section below for details.
options: { [string]: any }Not available at this time.- Prompts a user to purchase a bundle with the given
bundleId. - Prompts a user to cancel a subscription for the given
subscriptionId. - Prompts a user to purchase a pass with the given
gamePassId.Parameters Parameter Description player: InstanceThePlayerto prompt.gamePassId: numberThe pass ID to purchase. This is theTargetIdreturned byGetProductInfo()whenInfoTypeisGamePass. It is not the pass's asset ID and not itsProductId. MarketplaceService:PromptNativePurchaseWithLocalPlayer( productId: string) Parameters Parameter productId: stringMarketplaceService:PromptProductPurchase(player: Instance,productId: number,equipIfPurchased: boolean? = true,currencyType: Enum.CurrencyType? = Enum.CurrencyType.Default,) Prompts a user to purchase a developer product with the givenproductId.Parameters Parameter Description player: InstanceThePlayerto prompt.productId: numberThe ID of the developer product to purchase.equipIfPurchased: boolean? = trueIgnored.currencyType: Enum.CurrencyType? = Enum.CurrencyType.DefaultIgnored.MarketplaceService:PromptPurchase(player: Instance,assetId: number,equipIfPurchased: boolean? = true,currencyType: Enum.CurrencyType? = Enum.CurrencyType.Default,) Prompts a user to purchase an item with the givenassetId. Does not work for USD Creator Store purchases.Parameters Parameter Description player: InstanceThePlayerto prompt.assetId: numberThe ID of the asset to purchase.equipIfPurchased: boolean? = trueIgnored.currencyType: Enum.CurrencyType? = Enum.CurrencyType.DefaultIgnored.MarketplaceService:PromptRobloxSubscriptionPurchase( user: Player) Prompts a user to purchase a Roblox Plus subscription.MarketplaceService:PromptRobuxTransferAsync(sender: Player,receiverUserId: number,amount: number,): string Initiates a Robux transfer from the sender to another user.Parameters Parameter Description sender: PlayerThePlayerinitiating the transfer. Must be a valid player currently in the server.receiverUserId: numberTheUserIdof the user who will receive the Robux.amount: numberThe amount of Robux to transfer. Must be a positive integer.Returns Type Description stringA stringtransferRequestIdthat uniquely identifies this transfer request. Use this ID to correlate with receipts delivered throughBindReceiptHandler.- Prompts a user to purchase a subscription for the given
subscriptionId. MarketplaceService:PromptVIPServerPurchase( player: Player) Parameters Parameter player: Player- Takes a list of product IDs and returns a personalized ordered list of those products.
Parameters Parameter Description productIdentifiers: { any }An array of objects identifying the products you want to rank. This array can include up to 50 items. EachProductIdentifierhas:InfoType: Enum.InfoType- Must be either
InfoType.GamePassorInfoType.Product. Id: number- The ID of the game pass or developer product.
local ProductIdentifier = { InfoType = Enum.InfoType.GamePass, Id = 123456 }Returns Type Description { any }The array of ranked items in a personalized order for the current user. Each array has:ProductIdentifier: The corresponding ID from the input array.ProductInfo: The standard product info dictionary returned byGetProductInfoAsync.
- Takes an array of
InfoTypeand returns up to 50 items representing the products a user is most likely to engage with and purchase.
Parameters Parameter Description infoTypes: { any }An array ofInfoTypevalues specifying the types of product to retrieve recommendations for. SupportedInfoTypes:InfoType.GamePass,InfoType.Product.local infoTypes = { Enum.InfoType.GamePass, Enum.InfoType.Product }Returns Type Description { any }A ranked list of up to 50 items the user is most likely to engage with, based on the providedInfoTypes. If no recommendations can be determined, the method returns an empty list.- Takes an array of
MarketplaceService:RefreshBulkPurchase(batchPurchaseAuthToken: string,options: { [string]: any }? = nil,) Parameters Parameter batchPurchaseAuthToken: stringoptions: { [string]: any }? = nilMarketplaceService:SignalAssetTypePurchased(player: Instance,assetType: Enum.AssetType,) Parameters Parameter player: InstanceassetType: Enum.AssetTypeMarketplaceService:SignalPromptBulkPurchaseFinished(status: Enum.MarketplaceBulkPurchasePromptStatus,results: { [string]: any },) Parameters Parameter status: Enum.MarketplaceBulkPurchasePromptStatusresults: { [string]: any }MarketplaceService:SignalPromptPremiumPurchaseFinished( didTryPurchasing: boolean) Parameters Parameter didTryPurchasing: booleanMarketplaceService:SignalRobuxTransferCompleted( userId: number) Parameters Parameter userId: numberMarketplaceService:SignalServerLuaDialogClosed( value: boolean) Parameters Parameter value: booleanMarketplaceService:SignalUserSubscriptionStatusChanged( subscriptionId: string) Parameters Parameter subscriptionId: string- Returns true if the player with the given
UserIdowns the pass with the givengamePassId.Parameters Parameter Description userId: UserTheUserIdof thePlayerwhose inventory you're checking.gamePassId: numberThe pass ID you want to check for. Not to be confused with an asset ID.Returns Type Description booleanWhether the user owns the pass. MarketplaceService:GetProductInfo(assetId: number,infoType: Enum.InfoType? = Enum.InfoType.Asset,): { [string]: any } Deprecated: This method has been superseded byGetProductInfoAsync().
Returns the product information of an asset using its asset ID.Parameters Parameter Description assetId: numberThe asset ID of the specified product.infoType: Enum.InfoType? = Enum.InfoType.AssetAnInfoTypeenum value specifying the type of information being retrieved.Returns Type Description { [string]: any }A dictionary containing information about the queried item, described in the previous tables.Use GetProductInfoAsync instead.
- Deprecated: This method has been superseded by
PlayerOwnsAssetAsync().
Returns whether the given user has the given asset.Parameters Parameter Description player: InstanceThePlayerwhose inventory is tested for ownership of the given asset.assetId: numberThe asset ID for which the given player's inventory is tested.Returns Type Description booleanIndicates whether the given player's inventory contains the given asset.Use PlayerOwnsAssetAsync instead.
- Deprecated: This method has been superseded by
PlayerOwnsBundleAsync().
Returns whether the given player owns the given bundle.Parameters Parameter Description player: PlayerThePlayerwhose inventory is tested for ownership of the given bundle.bundleId: numberThe bundle ID for which the given player's inventory is tested.Returns Type Description booleanIndicates whether the given player's inventory contains the given bundle.Use PlayerOwnsBundleAsync instead.
MarketplaceService:PromptPremiumPurchase( player: Instance) Deprecated: This method has been superseded byPromptRobloxSubscriptionPurchase().
Prompts a user to purchase Roblox Premium.Parameters Parameter Description player: InstanceThe user being prompted to purchase Premium.Use PromptRobloxSubscriptionPurchase instead.
No methods match the filters.
Events64
Object.Changed: RBXScriptSignal<( property: string)> Fires immediately after a property of the object changes, with some limitations.Parameters Parameter property: string
Instance.AncestryChanged: RBXScriptSignal<( child: Instance, parent: Instance)> Fires when theInstance.Parentproperty of this object or one of its ancestors is changed.Instance.AttributeChanged: RBXScriptSignal<( attribute: string)> Fires whenever an attribute is changed on theInstance.Parameters Parameter attribute: stringInstance.ChildAdded: RBXScriptSignal<( child: Instance)> Fires after an object is parented to thisInstance.Parameters Parameter child: InstanceInstance.ChildRemoved: RBXScriptSignal<( child: Instance)> Fires after a child is removed from thisInstance.Parameters Parameter child: InstanceInstance.DescendantAdded: RBXScriptSignal<( descendant: Instance)> Fires after a descendant is added to theInstance.Parameters Parameter descendant: InstanceInstance.DescendantRemoving: RBXScriptSignal<( descendant: Instance)> Fires immediately before a descendant of theInstanceis removed.Parameters Parameter descendant: Instance- Fires immediately before (or is deferred until after) the instance is destroyed via
Instance:Destroy(). - Fires whenever any style property is changed on the instance, including when a property is set to
nil. Instance.childAdded: RBXScriptSignal<( child: Instance)> Deprecated: This deprecated event is a variant ofInstance.ChildAddedwhich should be used instead.Parameters Parameter child: InstanceUse ChildAdded instead.
Defined byMarketplaceService54
MarketplaceService.AssetTypePurchased: RBXScriptSignal<(player: Instance,assetType: Enum.AssetType,)> Parameters Parameter player: InstanceassetType: Enum.AssetTypeMarketplaceService.ClientLuaDialogRequested: RBXScriptSignal<( ...: any)> Parameters Parameter ...: anyMarketplaceService.ClientPurchaseSuccess: RBXScriptSignal<(ticket: string,playerId: number,productId: number,)> MarketplaceService.ConfirmPlayerHasRobloxSubscription: RBXScriptSignal<( )> MarketplaceService.ConfirmPlayerMembership: RBXScriptSignal<( )> MarketplaceService.ConfirmUserSubscriptionPurchase: RBXScriptSignal<( subscriptionId: string)> Parameters Parameter subscriptionId: stringMarketplaceService.GamePassFreeTrialRedeemed: RBXScriptSignal<(player: Instance,gamePassId: number,)> MarketplaceService.LuaDialogCallbackSignal: RBXScriptSignal<(value: boolean,player: Instance,)> MarketplaceService.MockConfirmUserSubscriptionPurchase: RBXScriptSignal<(userId: number,subscriptionId: string,)> MarketplaceService.MockPurchasePremium: RBXScriptSignal<( )> MarketplaceService.MockPurchaseRobloxSubscription: RBXScriptSignal<( )> MarketplaceService.NativePurchaseFinished: RBXScriptSignal<(player: Instance,productId: string,wasPurchased: boolean,)> MarketplaceService.NativePurchaseFinishedV2: RBXScriptSignal<(player: Instance,productId: string,wasPurchased: boolean,checkoutSessionId: string,)> MarketplaceService.NativePurchaseFinishedWithLocalPlayer: RBXScriptSignal<(productId: string,wasPurchased: boolean,)> MarketplaceService.NativePurchaseFinishedWithLocalPlayerV2: RBXScriptSignal<(productId: string,wasPurchased: boolean,checkoutSessionId: string,)> MarketplaceService.OpenShopRequested: RBXScriptSignal<( player: Player)> Parameters Parameter player: PlayerMarketplaceService.PromptBulkPurchaseFinished: RBXScriptSignal<(player: Instance,status: Enum.MarketplaceBulkPurchasePromptStatus,results: { [string]: any },)> Fires when a purchase prompt for bulk avatar items is closed.Parameters Parameter player: Instancestatus: Enum.MarketplaceBulkPurchasePromptStatusresults: { [string]: any }MarketplaceService.PromptBulkPurchaseRefreshed: RBXScriptSignal<(player: Instance,status: Enum.MarketplaceBulkPurchasePromptStatus,response: { [string]: any },)> Parameters Parameter player: Instancestatus: Enum.MarketplaceBulkPurchasePromptStatusresponse: { [string]: any }MarketplaceService.PromptBulkPurchaseRequested: RBXScriptSignal<(player: Instance,displayData: { any },orderRequest: { [string]: any },purchaserRobuxBalance: number,orderTotalRobux: number,options: { [string]: any },)> Parameters Parameter player: InstancedisplayData: { any }orderRequest: { [string]: any }purchaserRobuxBalance: numberorderTotalRobux: numberoptions: { [string]: any }MarketplaceService.PromptBulkPurchaseRequestedV2: RBXScriptSignal<(player: Instance,displayData: { any },orderRequest: { [string]: any },purchaserRobuxBalance: number,orderTotalRobux: number,options: { [string]: any },discountInformation: { [string]: any },)> Parameters Parameter player: InstancedisplayData: { any }orderRequest: { [string]: any }purchaserRobuxBalance: numberorderTotalRobux: numberoptions: { [string]: any }discountInformation: { [string]: any }MarketplaceService.PromptBulkPurchaseRequestedV3: RBXScriptSignal<(player: Instance,status: Enum.MarketplaceBulkPurchasePromptStatus,response: { [string]: any },)> Parameters Parameter player: Instancestatus: Enum.MarketplaceBulkPurchasePromptStatusresponse: { [string]: any }MarketplaceService.PromptBundlePurchaseFinished: RBXScriptSignal<(player: Instance,bundleId: number,wasPurchased: boolean,)> Fires when a bundle purchase prompt closes.MarketplaceService.PromptBundlePurchaseRequested: RBXScriptSignal<(player: Instance,bundleId: number,)> MarketplaceService.PromptCancelSubscriptionRequested: RBXScriptSignal<( subscriptionId: string)> Parameters Parameter subscriptionId: stringMarketplaceService.PromptGamePassPurchaseFinished: RBXScriptSignal<(player: Instance,gamePassId: number,wasPurchased: boolean,)> Fires when a purchase prompt for a pass is closed.MarketplaceService.PromptGamePassPurchaseRequested: RBXScriptSignal<(player: Instance,gamePassId: number,)> MarketplaceService.PromptNativePurchaseRequested: RBXScriptSignal<(player: Instance,productId: string,)> MarketplaceService.PromptNativePurchaseRequestedWithLocalPlayer: RBXScriptSignal<(userId: number,productId: string,)> MarketplaceService.PromptNativePurchaseRequestedWithLocalPlayerWithPaymentSessionId: RBXScriptSignal<(userId: number,productId: string,paymentSessionId: string,)> MarketplaceService.PromptNativePurchaseRequestedWithPaymentSessionId: RBXScriptSignal<(player: Instance,productId: string,paymentSessionId: string,)> MarketplaceService.PromptPremiumPurchaseFinished: RBXScriptSignal<( )> Fires when a purchase prompt for Roblox Premium is closed.MarketplaceService.PromptPremiumPurchaseRequested: RBXScriptSignal<( player: Instance)> Parameters Parameter player: InstanceMarketplaceService.PromptProductPurchaseFinished: RBXScriptSignal<(userId: number,productId: number,isPurchased: boolean,)> Fires when a purchase prompt for a developer product is closed. Do not use this event to process purchases.MarketplaceService.PromptProductPurchaseRequested: RBXScriptSignal<(player: Instance,productId: number,equipIfPurchased: boolean,currencyType: Enum.CurrencyType,)> Parameters Parameter player: InstanceproductId: numberequipIfPurchased: booleancurrencyType: Enum.CurrencyTypeMarketplaceService.PromptPurchaseFinished: RBXScriptSignal<(player: Instance,assetId: number,isPurchased: boolean,)> Fires when a purchase prompt for an affiliate gear sale or other asset is closed. Does not fire for developer product or pass prompts.MarketplaceService.PromptPurchaseRequested: RBXScriptSignal<(player: Instance,assetId: number,equipIfPurchased: boolean,currencyType: Enum.CurrencyType,)> Parameters Parameter player: InstanceassetId: numberequipIfPurchased: booleancurrencyType: Enum.CurrencyTypeMarketplaceService.PromptPurchaseRequestedV2: RBXScriptSignal<(player: Instance,assetId: number,equipIfPurchased: boolean,currencyType: Enum.CurrencyType,idempotencyKey: string,purchaseAuthToken: string,)> MarketplaceService.PromptRobloxPurchaseRequested: RBXScriptSignal<(assetId: number,equipIfPurchased: boolean,)> MarketplaceService.PromptRobloxSubscriptionPurchaseFinished: RBXScriptSignal<(user: Player,didTryPurchasing: boolean,)> Fires when a purchase prompt for Roblox Plus is closed.MarketplaceService.PromptRobloxSubscriptionPurchaseRequested: RBXScriptSignal<( )> MarketplaceService.PromptRobuxTransferRequested: RBXScriptSignal<(player: Instance,jsonResponse: string,)> MarketplaceService.PromptRobuxTransferSubscriptionUpsellRequested: RBXScriptSignal<( )> MarketplaceService.PromptSubscriptionPurchaseFinished: RBXScriptSignal<(user: Player,subscriptionId: string,didTryPurchasing: boolean,)> Fires when a purchase prompt for a subscription is closed.MarketplaceService.PromptSubscriptionPurchaseRequested: RBXScriptSignal<( subscriptionId: string)> Parameters Parameter subscriptionId: stringMarketplaceService.PromptThirdPartyPurchaseRequested: RBXScriptSignal<(player: Instance,productId: string,)> MarketplaceService.PromptVIPServerPurchaseRequested: RBXScriptSignal<( )> MarketplaceService.RefreshBulkPurchaseRequested: RBXScriptSignal<(playerId: number,batchPurchaseAuthToken: string,options: { [string]: any },)> Parameters Parameter playerId: numberbatchPurchaseAuthToken: stringoptions: { [string]: any }MarketplaceService.RobuxTransferCompleted: RBXScriptSignal<( userId: number)> Parameters Parameter userId: numberMarketplaceService.ServerPurchaseVerification: RBXScriptSignal<( serverResponseTable: { [string]: any })> Parameters Parameter serverResponseTable: { [string]: any }MarketplaceService.ThirdPartyPurchaseFinished: RBXScriptSignal<(player: Instance,productId: string,receipt: string,wasPurchased: boolean,)> MarketplaceService.UserSubscriptionStatusChanged: RBXScriptSignal<( subscriptionId: string)> Parameters Parameter subscriptionId: string
No events match the filters.
Callbacks1
Defined byMarketplaceService1
MarketplaceService.ProcessReceipt: ( receiptInfo: { [string]: any }) -> Enum.ProductPurchaseDecision A callback to process receipts of developer product purchases.Parameters Parameter Description receiptInfo: { [string]: any }ThereceiptInfotable passed to this callback contains the following data:PurchaseId— A unique identifier for the specific purchase.PlayerId— The user ID of the user who made the purchase.ProductId— The ID of the purchased product.PlaceIdWherePurchased— The place ID in which the purchase was made. Depending on where the user is during gameplay, the purchase place's ID can be the same as or different from the current place's ID.CurrencySpent— The amount of currency spent in the transaction.CurrencyType— The type of currency spent in the purchase; alwaysCurrencyType.Robux.ProductPurchaseChannel— How the user acquired the developer product. One ofProductPurchaseChannel.
Returns Type Description Enum.ProductPurchaseDecisionAn enum that represents how the developer product receipt was processed.PurchaseGranted:- Indicates that the experience successfully granted the player the developer product.
- Indicates to Roblox that the developer product sale was successful.
NotProcessedYet:- Indicates that the experience failed to grant the player the developer product.
No callbacks match the filters.