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