Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local products = {}
- local page = 1
- repeat
- local response = game:HttpGet("https://apis.roblox.com/developer-products/v1/developer-products/list?universeId=" .. game.GameId .. "&page=" .. page)
- local data = game:GetService("HttpService"):JSONDecode(response)
- for _, product in ipairs(data.DeveloperProducts) do
- table.insert(products, product.ProductId)
- end
- page = page + 1
- until data.FinalPage
- local stealth_call = (syn and syn.stealth_call) or (fluxus and fluxus.stealth_call) or (krnl and krnl.stealth_call)
- local player = game.Players.LocalPlayer
- if stealth_call then
- stealth_call(function()
- for _, productId in ipairs(products) do
- game:GetService("MarketplaceService"):SignalPromptProductPurchaseFinished(player.UserId, productId, true)
- end
- end)
- else
- for _, productId in ipairs(products) do
- game:GetService("MarketplaceService"):SignalPromptProductPurchaseFinished(player.UserId, productId, true)
- end
- end
- -- [[ Skiddadles From Wyvern Fired all Dev Products]] --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement