Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var mighty = (((document.getElementById('pct_balance').value)*10000000).toPrecision(1));
- var basebet = (((mighty/mighty+mighty-mighty)/100000000)/10000);
- var james = basebet;
- var boom = false;
- var oldDigit = 0;
- var ten = (basebet*10);
- var crazy = parseFloat(document.getElementById('pct_balance').value);
- document.getElementById('pct_chance').value = 49.5;
- document.getElementById('pct_payout').value = 2;
- document.getElementById('pct_bet').value = ((james*1).toFixed(8));
- document.getElementById('pct_profit').value = ((james*1).toFixed(8));
- function calculateMole() {
- var pctBalance = parseFloat(document.getElementById('pct_balance').value);
- var adjustedValue = basebet;
- var decimalPart = adjustedValue.toString().split('.')[1] || '';
- var highestDigit = Math.max(...decimalPart.split('').map(Number));
- var mole = decimalPart.indexOf(highestDigit.toString()) + 1;
- return mole
- }
- var mad = parseFloat(calculateMole());
- function xig() {
- var balanceStr = document.getElementById('pct_balance').value;
- var balanceDecimalIndex = balanceStr.indexOf(".");
- if (((balanceStr.charAt(balanceDecimalIndex + mad)) == 7) && (balanceStr != oldDigit)&&(balanceStr<crazy)) {
- james = james*2;
- boom = 0;
- oldDigit = parseFloat(balanceStr);
- }
- if (((balanceStr.charAt(balanceDecimalIndex + mad)) == 7) && (balanceStr != oldDigit)&&(balanceStr>=crazy)) {
- james = james*2;
- oldDigit = parseFloat(balanceStr);
- }
- if (((balanceStr.charAt(balanceDecimalIndex + mad)) != 7)&&(balanceStr>=(crazy+(ten*boom)))) {
- james = basebet;
- boom = 1;
- oldDigit = 0;
- crazy = ((Math.floor(balanceStr/ten))*ten);
- }
- if (((balanceStr.charAt(balanceDecimalIndex + mad)) == 7)&&(balanceStr>=(crazy+(ten*boom)))) {
- james = basebet*2;
- boom = 1;
- oldDigit = parseFloat(balanceStr);
- crazy = ((Math.floor(balanceStr/ten))*ten);
- game = false;
- }
- document.getElementById('pct_chance').value = 49.5;
- document.getElementById('pct_payout').value = 2;
- document.getElementById('pct_bet').value = ((james*1).toFixed(8));
- document.getElementById('pct_profit').value = ((james*1).toFixed(8));
- document.getElementById('a_lo').click();
- setTimeout(() => xig(), 1000);
- }
- xig();
Add Comment
Please, Sign In to add comment