Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var elderly = parseFloat(document.getElementById('pct_balance').value);
- var belance = 0;
- var greatie = elderly;
- var prefit = 0.00001;
- var beast = prefit;
- var winnerdinner = elderly;
- var wednesday = 0;
- var stroke = 0;
- var broke = 0;
- var elven = elderly;
- function go(){
- if (greatie!=belance){
- belance = document.getElementById('pct_balance').value;
- if (belance>elven){
- stroke = stroke+1;
- broke = 0;
- wednesday = wednesday+1 ;
- elven = parseFloat(belance);
- }
- if (belance<elven) {
- stroke = 0;
- broke = broke+1;
- elven = parseFloat(belance);
- }
- if (stroke==2) {
- beast = beast*2
- }
- if (stroke==3) {
- beast = beast*2
- }
- if (stroke==4) {
- beast = prefit;
- wednesday = 0;
- stroke = 0;
- }
- if ((wednesday>1)&&(broke==1)) {
- beast = prefit;
- wednesday = 0;
- }
- if ((wednesday<2)&&(broke>=2)) {
- beast = prefit;
- wednesday = 0;
- }
- if (belance>=14400) {
- console.log("winner winner chicken dinner");
- return;
- }
- $('#pct_chance').val(49.5);
- $('#pct_bet').val(((beast*1).toFixed(8)));
- $('#a_lo').click();
- }
- setTimeout(() => go(), 1);
- greatie = document.getElementById('pct_balance').value;
- }
- go();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement