Advertisement
coinwalk

better snowybot

Dec 24th, 2023
864
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var oldestbal = parseFloat(document.getElementById('pct_balance').value);
  2. var base = (oldestbal/1000);
  3. var bellance = oldestbal;
  4. var botplus = base;
  5. var trget = parseFloat(oldestbal);
  6. var tens = (base*10);
  7. var sevens = (base*6.9);
  8. var eights  = (base*7.1)
  9. var floatingbal = 0;
  10. var betnext = ((botplus*1).toFixed(8));
  11. var fart = 1;
  12.  
  13.  
  14. function get(){
  15. bellance = document.getElementById('pct_balance').value;
  16. if ((bellance>(((Math.floor(bellance/tens))*tens)+sevens))&&(bellance<(((Math.floor(bellance/tens))*tens)+eights))&&(bellance!=floatingbal)) {
  17.      botplus = botplus*2;  
  18.      fart = 1;
  19.      floatingbal  = parseFloat(bellance);
  20. }
  21. if ((((bellance-(oldestbal-(tens*fart)))-(botplus*2))<=0)&&(bellance<(((Math.floor(bellance/tens))*tens)+sevens))){
  22.     botplus = base;
  23.     fart = 2;
  24.     floatingbal = 0;  
  25. }
  26. if (((botplus*2)>=tens)&&(bellance<(((Math.floor(bellance/tens))*tens)+sevens))){
  27.     botplus = base;
  28.     floatingbal = 0;
  29.     fart = 1;
  30.     oldestbal = parseFloat(((Math.floor(bellance/tens))*tens));
  31. }
  32. if ((((bellance-(oldestbal-(tens*fart)))-(botplus*2))<=0)&&(bellance>(((Math.floor(bellance/tens))*tens)+sevens))&&(bellance<(((Math.floor(bellance/tens))*tens)+eights))){
  33.     botplus = base*2;
  34.     fart = 2;
  35.     floatingbal  = parseFloat(bellance);
  36. }
  37. if ((bellance-(oldestbal-(tens)))<=0){
  38. oldestbal = parseFloat(((Math.floor(bellance/tens))*tens));
  39. botplus = base;
  40. fart = 1;
  41. floatingbal = 0;
  42. }
  43. if (bellance>(trget*24)){
  44. console.log("buy ebike")
  45. return
  46. }
  47. betnext = ((botplus*1).toFixed(8));
  48. $('#pct_chance').val(49.5);
  49. $('#pct_bet').val(betnext);
  50. $('#a_hi').click();
  51. setTimeout(() => get(), 1200);
  52. }
  53. get();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement