Advertisement
coinwalk

update snowybot javascript justdice phase 2

Oct 16th, 2021
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.01 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*4))) {
  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*7))) {
  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*10))) {
  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. nextbet = bob;
  71. x = bob;
  72. old = wall;
  73. olda = wall;
  74. older = wall;
  75. }
  76. if (nextbet>balance){
  77. divest();
  78. nextbet = bob;
  79. x = bob;
  80. old = parseFloat(balance);
  81. olda = parseFloat(balance);
  82. older = parseFloat(balance);
  83. }
  84. if (balance>=targettwo){
  85. //stop()
  86. }
  87. var freak = ((balance-olderest).toFixed(8));
  88. console.log("balance made");
  89. console.log(freak);
  90. parseFloat(document.getElementById('pct_bet').value = (((nextbet*2)-nextbet).toFixed(8)));
  91. parseFloat(document.getElementById('pct_profit').value = (((nextbet*2)-nextbet).toFixed(8)));
  92. $('#a_lo').click();}
  93. function hey(){
  94. setTimeout(function(){dobet();}, 1200);}
  95. setInterval(() => hey(), 1200);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement