Advertisement
coinwalk

complex javascripting snowybot justdice

Oct 16th, 2021
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 KB | None | 0 0
  1. var belance = document.getElementById('pct_balance').value;
  2. var bob = (belance/10000).toFixed(8);
  3. var target = (belance*1.1);
  4. var targettwo = (belance*1.15);
  5. parseFloat(document.getElementById('pct_bet').value = bob);
  6. parseFloat(document.getElementById('pct_profit').value = (((bob*10)-bob).toFixed(8)));
  7. var old = document.getElementById('pct_balance').value;
  8. var olda = document.getElementById('pct_balance').value;
  9. var older = document.getElementById('pct_balance').value;
  10. var olderest = document.getElementById('pct_balance').value
  11. var x = bob
  12. var wall = document.getElementById('pct_balance').value
  13. var balance=document.getElementById('pct_balance').value;
  14. var v = 10000000
  15. var win;
  16. var nextbet;
  17. var shit = 0;
  18.  
  19. function go() {
  20. var classes = document.getElementsByClassName("fancybox-item fancybox-close");
  21. var Rate = classes[0];
  22. setTimeout(Rate.click(), 52);}
  23.  
  24. function invest() {
  25. balance = document.getElementById('pct_balance').value;
  26. $('#invest_edit').click();
  27. setTimeout(function(){document.getElementById('invest_input').value = (balance-wall);}, 500);
  28. setTimeout(function(){ $('#invest_button').click();}, 510);
  29. setTimeout(function(){go();}, 520);
  30. }
  31. function divest() {
  32. balance = document.getElementById('pct_balance').value;
  33. $('#invest_edit').click();
  34. setTimeout(function(){document.getElementById('divest_input').value = (wall-balance);}, 500);
  35. setTimeout(function(){ $('#divest_button').click();}, 510);
  36. setTimeout(function(){go();}, 520);
  37. }
  38. function dobet(){
  39. console.clear()
  40. var balance=document.getElementById('pct_balance').value;
  41. var previousbet = document.getElementById('pct_bet').value;
  42. document.getElementById('pct_chance').value = 49.5;
  43. document.getElementById('pct_payout').value = 2;
  44. if (balance<(old-(x*4))) {
  45. nextbet = previousbet*2;
  46. x = nextbet;
  47. old = parseFloat(balance);
  48. }
  49. if (balance>old) {
  50. old = parseFloat(balance);
  51. }
  52. if (balance>(olda+(x*6))) {
  53. nextbet = previousbet*2;
  54. x = nextbet;
  55. olda = parseFloat(balance);
  56. }
  57. if (balance<olda) {
  58. olda = parseFloat(balance);
  59. }
  60. if (balance>(older+(bob*9))) {
  61. nextbet = bob;
  62. x = bob;
  63. old = parseFloat(balance);
  64. olda = parseFloat(balance);
  65. older = parseFloat(balance);
  66. }
  67. if (nextbet==null) {
  68. nextbet=previousbet;
  69. }
  70. if (balance>=target) {
  71. invest();
  72. balance=document.getElementById('pct_balance').value;
  73. nextbet = bob;
  74. shit = shit+1;
  75. x = bob;
  76. old = wall;
  77. olda = wall;
  78. older = wall;
  79. }
  80. if (balance<=(wall*0.8)){
  81. divest();
  82. balance=document.getElementById('pct_balance').value;
  83. nextbet = bob;
  84. shit = shit+1;
  85. x = bob;
  86. old = wall;
  87. olda = wall;
  88. older = wall;
  89. }
  90. if (shit>=12){
  91. //stop();
  92. }
  93. var freak = ((balance-olderest).toFixed(8));
  94. console.log("balance made");
  95. console.log(freak);
  96. parseFloat(document.getElementById('pct_bet').value = (((nextbet*2)-nextbet).toFixed(8)));
  97. parseFloat(document.getElementById('pct_profit').value = (((nextbet*2)-nextbet).toFixed(8)));
  98. setTimeout(function(){$('#a_lo').click();}, 1100);}
  99. setInterval(() => dobet(), 1200);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement