Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var old = parseFloat(document.getElementById('pct_balance').value);
- var base = Number((old/800).toFixed(8));
- var floatingbasebet = base;
- var taget = 15000;
- var tens = (base*10);
- var sevens = (base*6.5);
- var oldbolance = 0;
- var couunt = 0;
- var baboon = false;
- var bart = document.getElementById('me').firstChild.lastChild.firstChild.children[5].innerText;
- var lisa = document.getElementById('me').firstChild.lastChild.firstChild.children[5].innerText;
- function get(){
- var awesome = document.getElementById('pct_balance').value;
- var good = Number((awesome - old).toFixed(8));
- console.log("profit");
- console.log(good);
- if ((good>(((Math.floor(good/tens))*tens)+sevens))&&(good<(((Math.floor(good/tens))*tens)+(sevens+base)))&&(good>oldbolance)) {
- floatingbasebet = Number((floatingbasebet*2).toFixed(8));
- couunt = couunt+1;
- oldbolance = parseFloat(good);
- }
- if ((good>(((Math.floor(good/tens))*tens)+sevens))&&(good<(((Math.floor(good/tens))*tens)+(sevens+base)))&&(good<oldbolance)) {
- floatingbasebet = Number((floatingbasebet*2).toFixed(8));
- couunt = couunt+1;
- oldbolance = parseFloat(good);
- }
- if ((couunt>=3)&&(good<(((Math.floor(good/tens))*tens)+sevens))) {
- floatingbasebet = base;
- couunt = 0;
- oldbolance = 0;
- }
- if ((couunt>=3)&&(good>(((Math.floor(good/tens))*tens)+(sevens+base)))) {
- floatingbasebet = base;
- couunt = 0;
- oldbolance = 0;
- }
- if ((couunt>=3)&&(good>(((Math.floor(good/tens))*tens)+sevens))&&(good<(((Math.floor(good/tens))*tens)+(sevens+base)))){
- floatingbasebet = Number((base*2).toFixed(8));
- couunt = 0;
- oldbolance = parseFloat(good);
- }
- if (good >= taget) {
- console.log("winner winner chicken dinner");
- return;
- }
- lisa = document.getElementById('me').firstChild.lastChild.firstChild.children[5].innerText;
- if ((lisa > bart) && (baboon)) {
- bart = parseFloat(lisa);
- baboon = false;
- }
- if ((lisa == bart) && (!baboon)) {
- baboon = true;
- $('#pct_chance').val(49.5);
- $('#pct_bet').val(((floatingbasebet * 1).toFixed(8)));
- $('#a_lo').click();
- }
- setTimeout(() => get(), 1);
- }
- get();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement