Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --------------------
- --Scripted----------
- ----------By-------
- -------------Claof--
- --------------------
- --Claof's buy item script
- local ID = -1 --Replace '-1' with the id of your item
- local plr = game.Players.LocalPlayer
- script.Parent.MouseButton1Click:connect(function()
- Game:GetService("MarketplaceService"):PromptPurchase(plr,ID)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement