Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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)/100000).toString();
- var james = basebet;
- var oldDigit = 0;
- var ten = (basebet*10);
- var oldBal = parseFloat(document.getElementById('pct_balance').value);
- var mad = basebet.length-2;
- function findDigitInBalance(){
- var balanceStr = document.getElementById('pct_balance').value;
- var balanceDecimalIndex = balanceStr.indexOf(".");
- if (((balanceStr.charAt(balanceDecimalIndex + mad)) == 7) && (balanceStr != oldDigit)) {
- james = james*2;
- oldDigit = parseFloat(balanceStr);
- } else if (((balanceStr.charAt(balanceDecimalIndex + mad)) == 7) && (balanceStr>(oldBal+(ten*2)))) {
- 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)/100000).toString();
- mad = basebet.length-2;
- james = basebet*2;
- oldBal = ((Math.floor(balanceStr/ten))*ten);
- oldDigit = parseFloat(balanceStr);
- } else if (((balanceStr.charAt(balanceDecimalIndex + mad)) != 7) && (balanceStr>(oldBal+(ten*2)))) {
- 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)/100000).toString();
- mad = basebet.length-2;
- james = basebet;
- oldBal = ((Math.floor(balanceStr/ten))*ten);
- oldDigit = 0;
- }
- return parseFloat(james);
- }
- function xig() {
- document.getElementById('pct_chance').value = 49.5;
- document.getElementById('pct_payout').value = 2;
- document.getElementById('pct_bet').value = (((findDigitInBalance())*1).toFixed(basebet.length-2));
- document.getElementById('pct_profit').value = (((findDigitInBalance())*1).toFixed(basebet.length-2));
- document.getElementById('a_hi').click();
- setTimeout(() => xig(), 7);
- }
- xig();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement