Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var divider = 10000; var chance = 49.5; var a = 1;
- var balance = parseFloat(document.getElementById('pct_balance').value);
- var olds = parseFloat(document.getElementById('pct_balance').value);
- var target = 5000;
- var betAmt = ((balance/divider).toFixed(8));
- var mybet;
- var crypt = betAmt;
- document.getElementById('pct_chance').value = chance;
- parseFloat(document.getElementById('pct_bet').value = betAmt);
- function dobet(){
- balancez = document.getElementById('pct_balance').value;
- var stuit = document.getElementById('pct_bet').value;
- document.getElementById('pct_chance').value = chance;
- if (mybet==null) {
- mybet = stuit;
- }
- if (balancez>balance) {
- balance = parseFloat(balancez);
- mybet = crypt*2;
- crypt = crypt*2;
- }
- if ((balancez<balance) {
- balance = parseFloat(balancez);
- mybet = betAmt;
- crypt = betAmt;
- }
- if (balancez>(olds+(betAmt*10)))) {
- balance = parseFloat(balancez);
- mybet = betAmt;
- crypt = betAmt;
- olds = olds+((Math.floor((balancez-olds)/(betAmt*10)).toPrecision(1))*(betAmt*10))
- }
- if (balancez>=target) {
- //stop();
- return;
- }
- if (a==0) {
- //stop();
- return;
- }
- balancez = document.getElementById('pct_balance').value;
- parseFloat(document.getElementById('pct_bet').value = ((mybet*1).toFixed(8)));
- $('#a_lo').click();
- console.log(balancez, balance, mybet, target);
- }
- setInterval(() => dobet(), 300);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement