Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var bolly = 0.00001;
- var ten = 0.0001;
- var krux = 0.00007;
- var get = 5000;
- var james = bolly;
- var two = ((Math.floor(($('#pct_balance')[0].value)/ten))*ten);
- var basebet = bolly;
- var digitToFind = 7;
- var balanceStr = document.getElementById('pct_balance').value;
- var balanceDecimalIndex = balanceStr.indexOf(".");
- var balanceAtBasebet = balanceStr.substr(0, balanceDecimalIndex + basebet.toString().length + 1);
- var digitIndex = balanceAtBasebet.indexOf(digitToFind.toString());
- var oldDigit = document.getElementById('pct_balance').value;
- function findDigitInBalance() {
- var balanceStr = document.getElementById('pct_balance').value;
- var balanceDecimalIndex = balanceStr.indexOf(".");
- var balanceAtBasebet = balanceStr.substr(0, balanceDecimalIndex + basebet.toString().length + 1);
- var digitIndex = balanceAtBasebet.indexOf(digitToFind.toString());
- var utter = document.getElementById('pct_balance').value;
- if ((digitIndex !== -1) && (utter != oldDigit)) {
- james = james*2;
- oldDigit = parseFloat(utter);
- digitToFind = 7;
- }
- if ((utter>(two+(ten*5)))&&(digitIndex == -1)) {
- james = bolly;
- two = parseFloat(utter);
- oldDigit = 0;
- digitToFind = 7;
- }
- if ((utter>(two+(ten*5)))&&(digitIndex !== -1)) {
- james = bolly*2;
- two = parseFloat(utter);
- oldDigit = parseFloat(utter);
- digitToFind = 7;
- }
- return james;
- }
- function xig(){
- findDigitInBalance();
- if (($('#pct_balance')[0].value)>=get){
- console.log('omg you won');
- return;
- console.log('omg you won');
- }
- 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_lo').click();
- setTimeout(() => xig(), 700);
- }
- xig();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement