Advertisement
coinwalk

Untitled

Dec 3rd, 2021
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.41 KB | None | 0 0
  1. var belance = document.getElementById('balance').innerHTML;
  2. document.getElementsByClassName('form-control in-bet').winning_chance_manual.value = 47.5
  3. document.getElementsByClassName('form-control in-bet').payout_manual.value =2
  4. var bob = 100000000000;
  5. basebet = 0.00001000;
  6. oldbal = document.getElementById('balance').innerHTML;
  7. oldb = document.getElementById('balance').innerHTML;
  8. f = true;
  9. target = (belance*3);
  10. old = document.getElementById('balance').innerHTML;
  11. olde = document.getElementById('balance').innerHTML;
  12. oldt = document.getElementById('balance').innerHTML;
  13. var r = true;
  14. var j = true;
  15. var nob = 0;
  16. var myseed;
  17. var shit = 0;
  18. parseFloat(document.getElementById("bet_amt").value = basebet);
  19. Dice_CalculateAmounts(1);
  20. Dice_CalculateAmounts(6);
  21. var old = document.getElementById('balance').innerHTML;
  22. var olderest = document.getElementById('balance').innerHTML;
  23. var nextbet;
  24. var wild = document.getElementById('balance').innerHTML;
  25. var balance = document.getElementById('balance').innerHTML;
  26. var min = document.getElementById('balance').innerHTML;
  27.  
  28. function getR(min, max) {
  29. min = Math.ceil(min);
  30. max = Math.floor(max);
  31. return Math.floor(Math.random() * (max - min + 1)) + min;
  32. }
  33. function makeid(length) {
  34. var result = '';
  35. var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
  36. var charactersLength = characters.length;
  37. for ( var i = 0; i < length; i++ ) {
  38. result += characters.charAt(Math.floor(Math.random() *
  39. charactersLength));
  40. }
  41. return result;
  42. }
  43. function dobet(){
  44. console.clear()
  45. balance = document.getElementById('balance').innerHTML;
  46. var previousbet = document.getElementsByClassName('form-control in-bet').bet_amount.value;
  47. document.getElementsByClassName('form-control in-bet').winning_chance_manual.value = 47.5
  48. document.getElementsByClassName('form-control in-bet').payout_manual.value =2
  49. if (nextbet==null) {
  50. nextbet = previousbet;
  51. }
  52. if (balance>=(oldt+(basebet*6))) {
  53. nextbet = basebet*2;
  54. oldt = parseFloat(balance);
  55. }
  56. if (balance<oldt) {
  57. oldt = parseFloat(balance);
  58. }
  59. if ((balance<(oldbal-(basebet*3)))&&(f==true)) {
  60. nextbet = basebet*2;
  61. f = false;
  62. oldbal = parseFloat(balance);
  63. }
  64. if ((balance<(oldbal-(basebet*6)))&&(f==false)) {
  65. nextbet = basebet;
  66. f = true;
  67. old = parseFloat(balance);
  68. oldt = parseFloat(balance);
  69. oldbal = parseFloat(balance);
  70. }
  71. if (balance<old) {
  72. old = parseFloat(balance);
  73. }
  74. if (balance>=(old+(basebet*10))) {
  75. nextbet = basebet;
  76. f = true;
  77. oldbal = parseFloat(balance);
  78. oldt = parseFloat(balance);
  79. old = parseFloat(balance);
  80. }
  81. if (balance>=target) {
  82. //stop();
  83. return;
  84. }
  85. if (balance>wild) {
  86. wild = parseFloat(balance);
  87. }
  88. if (balance<min) {
  89. min = parseFloat(balance);
  90. }
  91. var freak = ((balance-olderest).toFixed(8));
  92. console.log("balance made");
  93. console.log(freak);
  94. console.log("biggest balance");
  95. console.log(parseFloat(wild));
  96. console.log("lowest balance");
  97. console.log(parseFloat(min));
  98. var xol = getR(1,3);
  99. if (xol==1) {
  100. myseed = (makeid(8));
  101. }
  102. if (xol==2) {
  103. myseed = (makeid(12));
  104. }
  105. if (xol==3) {
  106. myseed = (makeid(17));
  107. }
  108. document.getElementsByClassName("form-control").client_seed.value= myseed;
  109. parseFloat(document.getElementById("bet_amt").value = (((nextbet*2)-nextbet).toFixed(8)));
  110. Dice_CalculateAmounts(1);
  111. Dice_CalculateAmounts(6);
  112. Roll_HiLo_Dice(2);
  113. }
  114. setInterval(() => dobet(), 1200);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement