Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local id = 00000000 -- change these to your product id
- script.Parent.TextButton.MouseButton1Click:connect(function()
- game.MarketplaceService:PromptProductPurchase(script.Parent.Parent.Parent, id)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement