Advertisement
coinwalk

Untitled

May 24th, 2023
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. var mighty = (((document.getElementById('pct_balance').value)*10000000).toPrecision(1));
  2. var basebet = (((mighty/mighty+mighty-mighty)/100000000)/100000);
  3. var james = basebet;
  4. var boom = false;
  5. var oldDigit = 0;
  6. var ten = (basebet*10);
  7. var crazy = parseFloat(document.getElementById('pct_balance').value);
  8. document.getElementById('pct_chance').value = 49.5;
  9. document.getElementById('pct_payout').value = 2;
  10. document.getElementById('pct_bet').value = ((james*1).toFixed(8));
  11. document.getElementById('pct_profit').value = ((james*1).toFixed(8));
  12.  
  13. function calculateMole() {
  14. var pctBalance = parseFloat(document.getElementById('pct_balance').value);
  15. var adjustedValue = basebet;
  16. var decimalPart = adjustedValue.toString().split('.')[1] || '';
  17. var highestDigit = Math.max(...decimalPart.split('').map(Number));
  18. var mole = decimalPart.indexOf(highestDigit.toString()) + 1;
  19. return mole
  20. }
  21. var mad = parseFloat(calculateMole());
  22.  
  23. function xig() {
  24. var balanceStr = document.getElementById('pct_balance').value;
  25. var balanceDecimalIndex = balanceStr.indexOf(".");
  26. if (((balanceStr.charAt(balanceDecimalIndex + mad)) == 7) && (balanceStr != oldDigit)&&(balanceStr<crazy)) {
  27. james = james*2;
  28. boom = 0;
  29. oldDigit = parseFloat(balanceStr);
  30. }
  31. if (((balanceStr.charAt(balanceDecimalIndex + mad)) == 7) && (balanceStr != oldDigit)&&(balanceStr>=crazy)) {
  32. james = james*2;
  33. oldDigit = parseFloat(balanceStr);
  34. }
  35. if (((balanceStr.charAt(balanceDecimalIndex + mad)) != 7)&&(balanceStr>=(crazy+(ten*boom)))) {
  36. james = basebet;
  37. boom = 1;
  38. oldDigit = 0;
  39. crazy = ((Math.floor(balanceStr/ten))*ten);
  40. }
  41. if (((balanceStr.charAt(balanceDecimalIndex + mad)) == 7)&&(balanceStr>=(crazy+(ten*boom)))) {
  42. james = basebet*2;
  43. boom = 1;
  44. oldDigit = parseFloat(balanceStr);
  45. crazy = ((Math.floor(balanceStr/ten))*ten);
  46. game = false;
  47. }
  48. document.getElementById('pct_chance').value = 49.5;
  49. document.getElementById('pct_payout').value = 2;
  50. document.getElementById('pct_bet').value = ((james*1).toFixed(8));
  51. document.getElementById('pct_profit').value = ((james*1).toFixed(8));
  52. document.getElementById('a_lo').click();
  53. setTimeout(() => xig(), 1000);
  54. }
  55.  
  56. xig();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement