Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Note: This works because these items have multiple products linked to them, and one of those products is still for sale.
- // Contact: twitter.com/h0nde
- // Date: 2019-03-22
- // open a window at roblox.com -> press F12 -> click the console tab button -> paste script -> press enter
- // if you're unable to do this follow the instructions below:
- // copy the script from here: https://pastebin.com/raw/V3qGH6AV
- // open roblox.com on your device
- // click the url-bar and clear everything
- // paste the script you copied
- // scroll back to the start of the url and write "javascript:" before it
- // press enter
- // video: https://www.youtube.com/watch?v=GZtO5XzxriI
- var productIds = [
- "215719598", // Black Wings
- "2409285794", // Playful Vampire
- "1402432199", // Violet Valkyrie
- "11748356", // Clockwork's Shades
- "417457139" // Shaggy 2.0
- ]
- productIds.forEach(function(productId) {
- $.ajax("https://economy.roblox.com/v1/purchases/products/"+productId, {
- method: "POST",
- headers: {"X-CSRF-TOKEN": Roblox.XsrfToken.getToken()},
- dataType: "json",
- data: {
- expectedCurrency: 0,
- expectedPrice: 0,
- expectedSellerId: 1
- },
- success: function(data) {
- if (data.purchased) {
- console.log("Bought", data.assetName)
- }
- }
- })
- })
Add Comment
Please, Sign In to add comment