Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var crazy = parseFloat(document.getElementById('cryptovalue').innerHTML);
- var mighty = (((document.getElementById('cryptovalue').innerHTML)*10000000).toPrecision(1));
- var basebet = (((mighty/mighty+mighty-mighty)/100000000)/1000);
- var james = basebet;
- var ten = (basebet*10);
- var oldDigit = 0;
- var boom = 1;
- function calculateMole() {
- 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('cryptovalue').innerHTML;
- 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);
- }
- return james;
- }
- function stroll(){
- document.getElementsByClassName('form-control').winchance.value = 50;
- document.getElementById('cryptomultiply').value = xig();
- reclc();
- multiply(1);
- setTimeout(() => stroll(), 1000);
- }
- stroll();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement