Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mS = game:GetService("MarketplaceService")
- local shopEvent = game.ReplicatedStorage.Remotes.Shop
- local devID = script.ID.Value
- local player = game.Players.LocalPlayer
- script.Parent.MouseButton1Click:Connect(function()
- mS:PromptProductPurchase(player, devID)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement