Advertisement
coinwalk

javascript snowybot just-dice.com

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