Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var originalbal = parseFloat(document.getElementById('pct_balance').value);
- var divide = 10000;
- var changer = (divide/20);
- var base = Number((originalbal/divide).toFixed(8));
- var floatingbase = base;
- var taget = (originalbal*2);
- 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 oldbolance = ((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))) {
- floatingbase = floatingbase*2;
- over = 4.9;
- under = 4.9;
- oldbolance = parseFloat(bolance);
- }
- if (bolance<(oldbolance-(floatingbase*under))) {
- floatingbase = floatingbase*2;
- over = 4.9;
- under = 4.9;
- oldbolance = parseFloat(bolance);
- }
- if ((0>=(originalbal-(floatingbase*changer)))&&(floatingbase>base)&&(bolance<(((Math.floor(bolance/groupedten))*groupedten)+groupedseven))){
- floatingbase = base;
- over = 6.9;
- under = 2.9;
- oldbolance = ((Math.floor(bolance/groupedten))*groupedten);
- }
- if ((0>=(bolance-(floatingbase*changer)))&&(floatingbase>base)&&(bolance<(((Math.floor(bolance/groupedten))*groupedten)+groupedseven))){
- floatingbase = base;
- over = 6.9;
- under = 2.9;
- oldbolance = ((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(800,1200)));
- }
- get();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement