Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var dinner = parseFloat(document.getElementById('pct_balance').value);
- var madman = Number((dinner/1000).toFixed(8));
- var tens = (madman*10);
- var monf = (madman*14);
- var sevens = (madman*6.9);
- var eights = (madman*7.9);
- var bald = dinner;
- var smartz = dinner;
- var snowy = 0;
- var beast = madman;
- var bobsy = dinner;
- function start(){
- bald = document.getElementById('pct_balance').value;
- if ((bald>(((Math.floor(bald/tens))*tens)+sevens))&&(bald<(((Math.floor(bald/tens))*tens)+eights))&&(bald!=snowy)){
- beast = beast*2;
- snowy = parseFloat(bald);
- }
- if (((bald-(beast*2))<=(bobsy-monf))&&(bald<(((Math.floor(bald/tens))*tens)+sevens))){
- beast = madman;
- snowy = 0;
- bobsy = parseFloat(bald);
- }
- if (((bald-(beast*2))<=0)&&(bald<(((Math.floor(bald/tens))*tens)+sevens))){
- beast = madman;
- snowy = 0;
- bobsy = parseFloat(bald);
- }
- if ((bald>=(bobsy+(tens*7)))&&(bald<(((Math.floor(bald/tens))*tens)+sevens))){
- beast = madman;
- snowy = 0;
- bobsy = parseFloat(bald);
- }
- if (bald>=(dinner*24)) {
- console.log("winner winner chicken dinner")
- return;
- }
- var cat = ((bald-smartz).toFixed(8));
- console.log("profit");
- console.log(cat);
- $('#pct_chance').val(49.5);
- $('#pct_bet').val(((beast*1).toFixed(8))); // Ensure brackets are correctly placed
- document.body.firstChild.children[5].firstChild.lastChild.lastElementChild.lastChild.click();
- setTimeout(() => start(), 1); // Adjust timeout as needed
- }
- start();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement