Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- || 📜 AUTHOR: @4zx16 || PURCHASE ON CLICK
- ]]
- local Services = {
- MPS = game:GetService("MarketplaceService")
- }
- local Product = {
- ID = 0
- }
- local function Purchase(player)
- Services.MPS:PromptProductPurchase(player, Product.ID)
- end
- script.Parent.a.MouseClick:Connect(Purchase)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement