Advertisement
coinwalk

Untitled

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