Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var frances = parseFloat(document.getElementById('pct_balance').value);
- var beast = Number((frances/244).toFixed(8));
- var newbe = beast;
- var tens = (beast*10);
- var james = ((Math.floor(frances/tens))*tens);
- var belance = frances;
- function soiled(){
- belance = document.getElementById('pct_balance').value;
- var dog = ((belance-frances).toFixed(8));
- console.log("profit");
- console.log(dog);
- if (belance>(james+(newbe*4.5))){
- newbe = newbe*1.735;
- james = parseFloat(belance);
- }
- if (belance<(james-(newbe*4.5))){
- newbe = newbe*1.735;
- james = parseFloat(belance);
- }
- if ((belance<=(newbe*42))&&(belance!=james)){
- newbe = beast;
- james = ((Math.floor(belance/tens))*tens);
- }
- if ((frances<(newbe*12))&&(belance!=james)){
- newbe = beast;
- james = ((Math.floor(belance/tens))*tens);
- }
- if (belance>=(frances*144000)){
- console.log("winner winner chicken dinner");
- return;
- }
- $('#pct_chance').val(49.5);
- $('#pct_bet').val(((newbe*1).toFixed(8)));
- $('#a_lo').click();
- setTimeout(() =>soiled(), 1);
- }
- soiled();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement