PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience

MarketplaceService:PromptProductPurchase

MarketplaceService:PromptProductPurchase

Oct 01 2018, 2:11 AM PST

The below example would prompt all new players to buy a developer product with an ID of 123456.

local productId = 123456
game.Players.PlayerAdded:Connect(function(player)
	Game:GetService("MarketplaceService"):PromptProductPurchase(player, productId)
end)