Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var olderest = parseFloat(document.getElementById('pct_balance').value);
- var prefit = Number((olderest/240).toFixed(8));
- var beast = prefit;
- var tens = (prefit*10);
- var sevens = (prefit*6.9);
- var eights = (prefit*7.9);
- var stock = (prefit*24);
- var chickendinner = (olderest*4);
- var original = olderest;
- var flyt = 6.9;
- var doner = 2.9;
- var snowy = ((Math.floor(olderest/tens))*tens);
- function go(){
- great = document.getElementById('pct_balance').value;
- var dog = Number((great-olderest).toFixed(8));
- console.log("profit");
- console.log(dog);
- if (great>(snowy+(beast*flyt))) {
- beast = beast*2;
- flyt = 4.9;
- doner = 4.9;
- snowy = parseFloat(great);
- }
- if (great<(snowy-(beast*doner))) {
- beast = beast*2;
- flyt = 4.9;
- doner = 4.9;
- snowy = parseFloat(great);
- }
- if (((great/30.5)<=beast)&&(great<(((Math.floor(great/tens))*tens)+sevens))){
- beast = prefit;
- flyt = 6.9;
- doner = 2.9;
- snowy = ((Math.floor(great/tens))*tens);
- }
- if (((great/30.5)<=beast)&&(great>(((Math.floor(great/tens))*tens)+eights))){
- beast = prefit;
- flyt = 6.9;
- doner = 2.9;
- snowy = ((Math.floor(great/tens))*tens);
- }
- if (((great/30.5)<=beast)&&(great>(((Math.floor(great/tens))*tens)+sevens))&&(great<(((Math.floor(great/tens))*tens)+eights))){
- beast = prefit*2;
- flyt = 4.9;
- doner = 4.9;
- snowy = parseFloat(great);
- }
- if (great>=chickendinner){
- olderest = parseFloat(great);
- prefit = Number((olderest/240).toFixed(8));
- beast = prefit;
- tens = (prefit*10);
- sevens = (prefit*6.9);
- eights = (prefit*7.9);
- flyt = 6.9;
- doner = 2.9;
- snowy = ((Math.floor(great/tens))*tens);
- chickendinner = (olderest*4);
- }
- if (great>140){
- 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();
Add Comment
Please, Sign In to add comment