Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 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.  
  18. "562257932" // Warm Winter Scarf
  19.  
  20. ]
  21.  
  22. productIds.forEach(function(productId) {
  23. $.ajax("https://economy.roblox.com/v1/purchases/products/"+productId, {
  24. method: "POST",
  25. headers: {"X-CSRF-TOKEN": Roblox.XsrfToken.getToken()},
  26. dataType: "json",
  27. data: {
  28. expectedCurrency: 0,
  29. expectedPrice: 0,
  30. expectedSellerId: 1
  31. },
  32. success: function(data) {
  33. if (data.purchased) {
  34. console.log("Bought", data.assetName)
  35. }
  36. }
  37. })
  38. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement