Advertisement
4zx16

Purchase on click

Aug 16th, 2022 (edited)
1,017
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | Source Code | 0 0
  1. --[[
  2.  || 📜 AUTHOR: @4zx16 || PURCHASE ON CLICK
  3. ]]
  4. local Services = {
  5.     MPS = game:GetService("MarketplaceService")
  6. }
  7. local Product = {
  8.     ID = 0
  9. }
  10. local function Purchase(player)
  11.     Services.MPS:PromptProductPurchase(player, Product.ID)
  12. end
  13. script.Parent.a.MouseClick:Connect(Purchase)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement