Advertisement
coinwalk

snowybot javascript

Oct 10th, 2021
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. var belance = document.getElementById('pct_balance').value;
  2. var bob = (belance/50000).toFixed(8);
  3. var target = 64000;
  4. parseFloat(document.getElementById('pct_bet').value = bob);
  5. parseFloat(document.getElementById('pct_profit').value = bob);
  6. var old = document.getElementById('pct_balance').value;
  7. var olda = document.getElementById('pct_balance').value;
  8. var older = document.getElementById('pct_balance').value;
  9. var olderest = document.getElementById('pct_balance').value
  10. var x = bob
  11. var v = 10000000
  12. var win;
  13. var chance = 9.9
  14. document.getElementById('pct_chance').value = chance;
  15. var nextbet;
  16.  
  17.  
  18. function dobet(){
  19. console.clear()
  20. var balance=document.getElementById('pct_balance').value;
  21. var previousbet = document.getElementById('pct_bet').value;
  22. document.getElementById('pct_chance').value = chance;
  23. if (balance>old) {
  24. old = parseFloat(balance);
  25. }
  26. if (balance<(old-(x*20))) {
  27. nextbet = previousbet*2;
  28. x = nextbet;
  29. old = parseFloat(balance);
  30. }
  31. if (balance<olda) {
  32. olda = parseFloat(balance);
  33. }
  34. if (balance>(olda+(x*45))) {
  35. nextbet = previousbet*2;
  36. x = nextbet;
  37. olda = parseFloat(balance);
  38. }
  39. if (balance>(older+(bob*50))) {
  40. nextbet = bob;
  41. x = bob;
  42. old = parseFloat(balance);
  43. olda = parseFloat(balance);
  44. older = parseFloat(balance);
  45. }
  46. if (nextbet==null) {
  47. nextbet=previousbet;
  48. }
  49. if ((balance > target) || (nextbet>balance)){
  50. //stop();
  51. }
  52. var freak = (balance-olderest).toFixed(8);
  53. console.log("balance made");
  54. console.log(freak);
  55. parseFloat(document.getElementById('pct_bet').value = nextbet);
  56. parseFloat(document.getElementById('pct_profit').value = nextbet);
  57. $('#a_lo').click();
  58. }
  59. setInterval(() => dobet(), 2000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement