Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var elderly = parseFloat(document.getElementById('pct_balance').value);
- var prefit = Number((elderly/24).toPrecision(2));
- var beast = prefit;
- var tens = (prefit*10);
- var sevens = (prefit*6.9);
- var eights = (prefit*7.9);
- var winnerdinner = (elderly*24)
- var snowy = 0;
- function go(){
- great = document.getElementById('pct_balance').value;
- var dog = Number((great-elderly).toFixed(8));
- console.log("profit");
- console.log(dog);
- if ((great>(((Math.floor(great/tens))*tens)+sevens))&&(great<(((Math.floor(great/tens))*tens)+eights))&&(great!=snowy)){
- beast = beast*2;
- snowy = parseFloat(great);
- }
- if (((great/3.9)<=beast)&&(great<(((Math.floor(great/tens))*tens)+sevens))){
- beast = prefit;
- snowy = 0;
- }
- if (((great/3.9)<=beast)&&(great>(((Math.floor(great/tens))*tens)+eights))){
- beast = prefit;
- snowy = 0;
- }
- if (((great/3.9)<=beast)&&(great>(((Math.floor(great/tens))*tens)+sevens))&&(great<(((Math.floor(great/tens))*tens)+eights))){
- beast = prefit*2;
- snowy = parseFloat(great);
- }
- if ((beast>=elderly)&&(great<(((Math.floor(great/tens))*tens)+sevens))){
- beast = prefit;
- snowy = 0;
- }
- if ((beast>=elderly)&&(great>(((Math.floor(great/tens))*tens)+eights))){
- beast = prefit;
- snowy = 0;
- }
- if ((beast>=elderly)&&(great>(((Math.floor(great/tens))*tens)+sevens))&&(great<(((Math.floor(great/tens))*tens)+eights))){
- beast = prefit*2;
- snowy = parseFloat(great);
- }
- if (great>=winnerdinner){
- console.log("winner winner chicken dinner");
- return;
- }
- $('#pct_chance').val(49.5);
- $('#pct_bet').val(((beast*1).toFixed(8)));
- $('#a_lo').click();
- setTimeout(() => go(), 1000);
- }
- go();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement