Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make a purches when a button is pressed?

When a robox button is pressed a perches comes up Like buying vip or admin how do I do it? ty who ever helped

1 answer

You do that by using the function

game:GetService("MarketplaceService"):PromptPurchase(player,assetId)

and using the Clicked event of a clickdetector.

This discussion is preserved as it was. New answers, comments, and votes are closed.