<script>
var originalbal = parseFloat(document.getElementById('pct_balance').value);
var divide = 80000;
var changer = (originalbal/20);
var base = Number((originalbal/divide).toFixed(8));
var floatingbase = base;
var taget = (originalbal*7);
var groupedten = (base*10);
var groupedseven = (base*6.5);
var tobetnext = ((floatingbase*1).toFixed(8));
var bolance = originalbal;
var over = 6.9;
var under = 2.9;
var fart = 2;
var freak = false;
var oldbolance = ((Math.floor(originalbal/groupedten))*groupedten);
var oldbolancetree = ((Math.floor(originalbal/groupedten))*groupedten);
var oldbolancetwo = ((Math.floor(originalbal/groupedten))*groupedten);
function getR(minz, maxz) {
minz = Math.ceil(minz);
maxz = Math.floor(maxz);
return Math.floor(Math.random() * (maxz - minz + 1)) + minz;
}
function get(){
console.clear();
setTimeout(function(){
bolance = document.getElementById('pct_balance').value;
if ((bolance>(oldbolance+(floatingbase*over)))&&(bolance>oldbolancetwo)) {
floatingbase = floatingbase*2;
over = 4.9;
under = 4.9;
freak = true;
oldbolance = parseFloat(bolance);
}
if ((bolance>(oldbolance+(floatingbase*over)))&&(bolance<oldbolancetwo)) {
floatingbase = floatingbase*2;
over = 4.9;
under = 4.9;
oldbolance = parseFloat(bolance);
}
if ((bolance<(oldbolance-(floatingbase*under)))&&(freak)) {
floatingbase = floatingbase*2;
over = 4.9;
under = 4.9;
oldbolance = parseFloat(bolance);
}
if ((bolance<(oldbolance-(floatingbase*under)))&&(!freak)) {
floatingbase = floatingbase*2;
over = 4.9;
under = 4.9;
fart = 1;
oldbolance = parseFloat(bolance);
}
if ((bolance>=(oldbolancetree+(groupedten*fart)))&&(bolance<(((Math.floor(bolance/groupedten))*groupedten)+groupedseven))){
floatingbase = base;
fart = 2;
over = 6.9;
under = 2.9;
freak = false;
oldbolance = ((Math.floor(bolance/groupedten))*groupedten);
oldbolancetwo = ((Math.floor(bolance/groupedten))*groupedten);
oldbolancetree = ((Math.floor(bolance/groupedten))*groupedten);
}
if ((floatingbase>=(bolance/changer))&&(bolance<oldbolancetwo)&&(floatingbase>base)&&(bolance<(((Math.floor(bolance/groupedten))*groupedten)+groupedseven))){
floatingbase = base;
fart = 0;
over = 6.9;
under = 2.9;
oldbolance = ((Math.floor(bolance/groupedten))*groupedten);
oldbolancetwo = ((Math.floor(bolance/groupedten))*groupedten);
}
if ((floatingbase>=(bolance/changer))&&(bolance<oldbolancetwo)&&(floatingbase>base)&&(bolance>(((Math.floor(bolance/groupedten))*groupedten)+groupedseven))){
floatingbase = base*2;
fart = 0;
over = 4.9;
under = 4.9;
oldbolance = parseFloat(bolance);
oldbolancetwo = ((Math.floor(bolance/groupedten))*groupedten);
}
if (bolance >= taget) {
console.log("winner winner chicken dinner");
return;
}
tobetnext = ((floatingbase*1).toFixed(8));
$('#pct_chance').val(49.5);
$('#pct_bet').val(tobetnext);
$('#a_lo').click();
}, (getR(100,200)));
var good = ((bolance-originalbal).toFixed(8));
console.log("profit");
console.log(good);
setTimeout(() => get(), (getR(200,300)));
}
get();
</script>