Advertisement
Guest User

ROBLOX - Limited Sniping Bot

a guest
Apr 5th, 2015
4,936
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. INSTRUCTIONS:
  2. Get the Developer Console
  3. Go on the Console
  4. Paste the script in and enter it
  5. Enter the product id within the prompt
  6. Enter the max item cost and the minimum cost.
  7. Enjoy!
  8.  
  9. var product = prompt("Please enter the product ID ​of the item");
  10. var itemCostMax = prompt("Please enter the most you are willing to spend for this item");
  11. var itemCostMin = prompt("Please enter the lowest amount you want to target \r\n Please make this number realistic to avoid a long runtime");
  12. var stop = "22";
  13. var incPrice = itemCostMin;
  14.  
  15. function buyItem(target) {
  16. $.post("http://www.roblox.com/API/Item.ashx?rqtype=purchase&productID=" + target + "&expectedCurrency=2&expectedPrice=" + incPrice + "&expectedSellerID=1", {}).complete(function() {
  17. console.log("Request Sent!");
  18. });
  19. }
  20.  
  21. function priceChange() {
  22. if (incPrice > itemCostMax) {
  23. incPrice = itemCostMin;
  24. } else {
  25. incPrice++;
  26. }
  27. }
  28.  
  29. function Loop() {
  30. setInterval(function() {
  31. buyItem(product);
  32. priceChange();
  33. if (i < stop.length) {
  34. Loop();
  35. } else {
  36. alert("[OPERATION CANCELLED] ");
  37. }
  38. },
  39. 350);
  40. }
  41. Loop();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement