Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var oLdBeLance = parseFloat(document.getElementById('pct_balance').value);
- var lomar = Number((oLdBeLance/2400).toFixed(8));
- var tens = (lomar*10);
- var sevens = (lomar*6.99);
- var eights = (lomar*7.99);
- var father = (lomar*20);
- var meegle = lomar;
- var belance = 0;
- var fran = 0;
- var snowy = 0;
- var nople = (((Math.floor(oLdBeLance/tens))*tens)+eights);
- var bart = (((Math.floor(oLdBeLance/tens))*tens)+sevens);
- function start() {
- belance = parseFloat(document.getElementById('pct_balance').value);
- fran = ((belance-oLdBeLance)*1).toFixed(8);
- console.log("profit");
- console.log(fran);
- bart = (((Math.floor(belance/tens))*tens)+sevens);
- nople = (((Math.floor(belance/tens))*tens)+eights);
- if ((belance>bart)&&(belance<nople)&&(belance!=snowy)){
- meegle = meegle+meegle;
- snowy = parseFloat(belance);
- }
- if (((belance-meegle)<=(belance-father))&&(belance<bart)){
- meegle = lomar;
- snowy = 0;
- }
- if (((belance-meegle)<=(belance-father))&&(belance>nople)){
- meegle = lomar;
- snowy = 0;
- }
- if (((belance-meegle)<=(belance-father))&&(belance>bart)&&(belance<nople)){
- meegle = lomar*2;
- snowy = parseFloat(belance);
- }
- if (belance>=144){
- console.log("winner winner chicken dinner")
- return;
- }
- $('#pct_chance').val(49.5);
- $('#pct_bet').val((meegle).toFixed(8));
- $('#a_lo').click();
- setTimeout(() => start(), 1);
- }
- start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement