Advertisement
Guest User

[Java] (ROBLOX) Off-sale item's method!

a guest
Mar 27th, 2019
10,436
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 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: https://twitter.com/FIaming0
  3. // Date: 2019-03-27
  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. "51119013", // Slime Cape
  18. "51119443", // Slime Sunglasses
  19. "45038518", // Festive Winter Shades
  20. "54591332", // Yondu’s Fin
  21. "37990657" // Dog Man Virtual Book
  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. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement