Advertisement
giganciprogramowania

LocalScript l12

May 11th, 2023
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. local mS = game:GetService("MarketplaceService")
  2.  
  3.  
  4. local shopEvent = game.ReplicatedStorage.Remotes.Shop
  5.  
  6.  
  7. local devID = script.ID.Value
  8.  
  9.  
  10. local player = game.Players.LocalPlayer
  11.  
  12.  
  13. script.Parent.MouseButton1Click:Connect(function()
  14. mS:PromptProductPurchase(player, devID)
  15. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement