Advertisement
HowToRoblox

GamepassPurchaseScript

Nov 14th, 2019
3,057
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. local mps = game:GetService("MarketplaceService")
  2.  
  3. local id = 7550418
  4.  
  5. local player = game.Players.LocalPlayer
  6.  
  7.  
  8. script.Parent.MouseButton1Click:Connect(function()
  9.            
  10.     mps:PromptGamePassPurchase(player, id) 
  11. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement