Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local id = your gamepass id.
- script.Parent.MouseButton1Down:Connect(function()
- game:GetService("MarketplaceService"):PromptGamePassPurchase(game.Players.LocalPlayer,id)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement