Advertisement
coinwalk

kick arse just-dice javascript by snowy

Dec 19th, 2021
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1. var belance = document.getElementById('pct_balance').value;
  2. document.getElementById('pct_chance').value = 49.5;
  3. document.getElementById('pct_payout').value = 2;
  4. var bob = 100000000000;
  5. var frac = 24;
  6. var b = ((belance/frac).toFixed(6));
  7. var basebet = b;
  8. var i = document.getElementById('pct_balance').value;
  9. var oldbal = document.getElementById('pct_balance').value;
  10. var oldb = document.getElementById('pct_balance').value;
  11. var f = true;
  12. var target = 10000;
  13. var olderest = document.getElementById('pct_balance').value
  14. var old = document.getElementById('pct_balance').value;
  15. var olde = document.getElementById('pct_balance').value;
  16. var older = document.getElementById('pct_balance').value;
  17. var oldt = document.getElementById('pct_balance').value;
  18. var nextbet;
  19. var r = true;
  20. var j = true;
  21. var bok = 0;
  22. var box = 0;
  23. var bim = (basebet*3);
  24. var wild = document.getElementById('pct_balance').value;
  25. var min =document.getElementById('pct_balance').value;
  26. parseFloat(document.getElementById('pct_bet').value = b);
  27. parseFloat(document.getElementById('pct_profit').value = b);
  28.  
  29.  
  30. function dobet(){
  31. console.clear()
  32. var balance = document.getElementById('pct_balance').value;
  33. var previousbet = document.getElementById('pct_bet').value;
  34. document.getElementById('pct_chance').value = 49.5;
  35. document.getElementById('pct_payout').value = 2;
  36. if (nextbet==null) {
  37. nextbet = previousbet;
  38. }
  39. if (balance>=(oldbal+(basebet*6))) {
  40. nextbet = basebet*2;
  41. bim = (basebet*3);
  42. f = true;
  43. }
  44. if (balance<=(oldbal-bim)) {
  45. nextbet = basebet*2;
  46. basebet = nextbet;
  47. bim = (basebet*3);
  48. f = false;
  49. oldbal = parseFloat(balance);
  50. }
  51. if (balance<=(oldt-(b*9))) {
  52. bok=bok+1;
  53. oldt = parseFloat(balance);
  54. }
  55. if ((balance>=(old+(b*10)))||((balance>=old)&&(f==false))) {
  56. nextbet = b;
  57. basebet = b;
  58. f = true;
  59. bok = 0;
  60. bim = (basebet*4);
  61. oldbal = parseFloat(balance);
  62. old = parseFloat(balance);
  63. oldt = parseFloat(balance);
  64. }
  65. if (bok>=3) {
  66. nextbet = b;
  67. basebet = b;
  68. f = false;
  69. bok = 0;
  70. bim = (basebet*3);
  71. oldt = parseFloat(balance);
  72. }
  73. if (balance>=target) {
  74. //stop();
  75. return;
  76. }
  77. if (balance>wild) {
  78. wild = parseFloat(balance);
  79. }
  80. if (balance<min) {
  81. min = parseFloat(balance);
  82. }
  83. var freak = ((balance-olderest).toFixed(8));
  84. console.log("balance made");
  85. console.log(freak);
  86. console.log("biggest balance");
  87. console.log(parseFloat(wild));
  88. console.log("lowest balance");
  89. console.log(parseFloat(min));
  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. }
  94. setInterval(() => dobet(), 1200);
  95.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement