Joriangames

Buy Gamepass localscript

Jul 17th, 2020
870
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. script.Parent.MouseButton1Click:Connect(function()
  2.     game:GetService("MarketplaceService"):PromptGamePassPurchase(game.Players.LocalPlayer,10757436) --put your gamepassId at this number
  3. end)
  4.  
  5. --if you want to know how to use this, go watch my tutorial about 'how to make a Gamepass Shop Gui': https://youtu.be/zXkaaXHPvuU
Add Comment
Please, Sign In to add comment