Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var oldestbal = parseFloat(document.getElementById('pct_balance').value);
- var base = Number((oldestbal/140).toFixed(8));
- var bellance = oldestbal;
- var dodgey = oldestbal;
- var kitty = oldestbal;
- var botplus = base;
- var trget = oldestbal;
- var tens = (base*10);
- var sevens = (base*6.9);
- var eights = (base*7.9);
- var upper = 6.9;
- var downer = 2.9;
- var fart = ((Math.floor(oldestbal/tens))*tens);
- var bob = oldestbal;
- var boobed = oldestbal;
- var troll = false;
- function get(){
- dodgey = document.getElementById('pct_balance').value;
- beatle = document.getElementById('me').firstChild.lastChild.firstChild.children[7].innerText;
- if ((dodgey>kitty)&&(beatle<49.5000)){
- bellance = bellance+botplus
- kitty = parseFloat(dodgey);
- }
- if ((dodgey<kitty)&&(beatle>=49.5000)){
- bellance = bellance-botplus
- kitty = parseFloat(dodgey);
- }
- if ((dodgey>kitty)&&(beatle>=49.5000)){
- console.log("they did payments wrong");
- return;
- }
- if ((dodgey<kitty)&&(beatle<49.5000)){
- console.log("they didn't pay you for green");
- return;
- }
- var good = ((bellance-oldestbal).toFixed(8));
- console.log("profit");
- console.log(good);
- if (bellance>(fart+(botplus*upper))){
- botplus = botplus*2;
- upper = 4.9;
- downer = 4.9;
- fart = parseFloat(bellance);
- }
- if (bellance<(fart-(botplus*downer))){
- botplus = botplus*2;
- upper = 4.9;
- downer = 4.9;
- fart = parseFloat(bellance);
- bob = parseFloat(bellance);
- }
- if (bellance>=(bob+(tens*4))){
- troll = true;
- bob = parseFloat(bellance);
- }
- if ((bellance<=(bob-(botplus*1.9)))&&(troll)&&(bellance<(((Math.floor(bellance/tens))*tens)+sevens))){
- botplus = base;
- upper = 6.9;
- downer = 2.9;
- troll = false;
- fart = ((Math.floor(bellance/tens))*tens);
- bob = parseFloat(bellance);
- }
- if ((botplus>=tens)&&(bellance>=bob)&&(bellance<(((Math.floor(bellance/tens))*tens)+sevens))){
- botplus = base;
- upper = 6.9;
- downer = 2.9;
- troll = false;
- fart = ((Math.floor(bellance/tens))*tens);
- bob = parseFloat(bellance);
- }
- if (bellance>=100) {
- console.log("winner winner chicken dinner");
- return;
- }
- $('#pct_chance').val(49.5);
- $('#pct_bet').val(((botplus*1).toFixed(8)));
- $('#a_lo').click();
- setTimeout(() => get(), 10);
- }
- get();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement