Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var olderest = parseFloat(document.getElementById('pct_balance').value);
- var betbse = Number((olderest/100).toFixed(8));
- var betnext = betbse;
- var tens = (betbse*10);
- var seventy = (betbse*70);
- var twohundreds = (betbse*200);
- var sevens = (betbse*6.9);
- var eights = (betbse*7.9);
- var setasseven = 0;
- var chickendinner = (olderest*4);
- var belance = olderest;
- var upper = 6.9;
- var downer = 2.9;
- var goodoldbal = ((Math.floor(olderest/tens))*tens);
- var smokey = ((Math.floor(olderest/tens))*tens);
- function go(){
- belance = document.getElementById('pct_balance').value;
- var dog = Number((belance-olderest).toFixed(8));
- console.log("profit");
- console.log(dog);
- if (belance>(goodoldbal+(betnext*upper))) {
- betnext = betnext*2;
- upper = 4.9;
- downer = 4.9;
- goodoldbal = parseFloat(belance);
- }
- if (belance<(goodoldbal-(betnext*downer))) {
- betnext = betnext*2;
- upper = 4.9;
- downer = 4.9;
- goodoldbal = parseFloat(belance);
- }
- if ((betnext>=(belance/2))&&(belance<=smokey)&&(belance<(((Math.floor(belance/tens))*tens)+sevens))) {
- betnext = betbse;
- upper = 6.9;
- downer = 2.9;
- goodoldbal = ((Math.floor(belance/tens))*tens);
- }
- if ((betnext>=(belance/4))&&(belance>=smokey)&&(belance<(((Math.floor(belance/tens))*tens)+sevens))) {
- betnext = betbse;
- upper = 6.9;
- downer = 2.9;
- goodoldbal = ((Math.floor(belance/tens))*tens);
- }
- if ((betnext>=original)&&(belance>=smokey)&&(belance<(((Math.floor(belance/tens))*tens)+sevens))) {
- betnext = betbse;
- upper = 6.9;
- downer = 2.9;
- goodoldbal = ((Math.floor(belance/tens))*tens);
- }
- if (belance>=chickendinner){
- console.log("winner winner chicken dinner");
- return;
- }
- $('#pct_chance').val(49.5);
- $('#pct_bet').val(((betnext*1).toFixed(8)));
- $('#a_lo').click();
- setTimeout(() => go(), 1000);
- }
- go();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement