Advertisement
coinwalk

update snowybot javascript justdice phase 4

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