PiterMosskva_TV

freeitems

Mar 26th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. // Note: This works because these items have multiple products linked to them, and one of those products is still for sale.
  2. // Contact: twitter.com/h0nde
  3. // Date: 2019-03-22
  4.  
  5. // open a window at roblox.com -> press F12 -> click the console tab button -> paste script -> press enter
  6.  
  7. // if you're unable to do this follow the instructions below:
  8. // copy the script from here: https://pastebin.com/raw/V3qGH6AV
  9. // open roblox.com on your device
  10. // click the url-bar and clear everything
  11. // paste the script you copied
  12. // scroll back to the start of the url and write "javascript:" before it
  13. // press enter
  14. // video: https://www.youtube.com/watch?v=GZtO5XzxriI
  15.  
  16. var productIds = [
  17. "215719598", // Black Wings
  18. "2409285794", // Playful Vampire
  19. "1402432199", // Violet Valkyrie
  20. "11748356", // Clockwork's Shades
  21. "417457139" // Shaggy 2.0
  22. ]
  23.  
  24. productIds.forEach(function(productId) {
  25. $.ajax("https://economy.roblox.com/v1/purchases/products/"+productId, {
  26. method: "POST",
  27. headers: {"X-CSRF-TOKEN": Roblox.XsrfToken.getToken()},
  28. dataType: "json",
  29. data: {
  30. expectedCurrency: 0,
  31. expectedPrice: 0,
  32. expectedSellerId: 1
  33. },
  34. success: function(data) {
  35. if (data.purchased) {
  36. console.log("Bought", data.assetName)
  37. }
  38. }
  39. })
  40. })
Add Comment
Please, Sign In to add comment