Advertisement
coinwalk

supersnowzy is back

May 17th, 2023
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 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 game = false;
  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. oldDigit = parseFloat(balanceStr);
  18. oldBal = ((Math.floor(balanceStr/ten))*ten);
  19. game = true;
  20. }else if (((balanceStr.charAt(balanceDecimalIndex + mad)) != 7) && (balanceStr>(oldBal+(ten))) && (!!game)) {
  21. james = basebet;
  22. game = false;
  23. oldBal = ((Math.floor(balanceStr/ten))*ten);
  24. oldDigit = 0;
  25. }else if (balanceStr<=james){
  26. 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();
  27. mad = basebet.length-2; james = basebet;
  28. james = basebet;
  29. game = false;
  30. oldBal = ((Math.floor(balanceStr/ten))*ten);
  31. oldDigit = 0;
  32. }
  33. return parseFloat(james);
  34. }
  35.  
  36. function xig() {
  37. document.getElementById('pct_chance').value = 49.5;
  38. document.getElementById('pct_payout').value = 2;
  39. document.getElementById('pct_bet').value = (((findDigitInBalance())*1).toFixed(basebet.length-2));
  40. document.getElementById('pct_profit').value = (((findDigitInBalance())*1).toFixed(basebet.length-2));
  41. document.getElementById('a_hi').click();
  42. setTimeout(() => xig(), 7);
  43. }
  44.  
  45. xig();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement