SHOW:
|
|
- or go back to the newest paste.
| 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) |