Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const origin = parseFloat(document.getElementById('pct_balance').value); // original balance
- const beast = Number((origin/144000).toFixed(8)); //basebet needs be roughly 100 to 1000 divide ending in 4
- //needs balance lower just than beast to be not over 9
- const tenticle = beast * 10;
- const atesy = beast * 7.9;
- const sever = beast * 6.9;
- const winnerThreshold = 144;
- var bekance = origin;
- var tuckker = beast;
- var william = origin;
- var theolbekance = 0;
- var oldBelance = 0; // Initialize the old balance
- var mixamus = (((Math.floor(bekance / tenticle)) * tenticle) + sever);
- var maxamus = (((Math.floor(bekance / tenticle)) * tenticle) + atesy);
- var james = ((Math.floor(bekance / tenticle)) * tenticle);
- function godo() {
- bekance = parseFloat(document.getElementById('pct_balance').value);
- // Only run if the balance has changed
- if ((bekance > oldBelance)||(bekance < oldBelance)){
- //finds 7 in bet logic
- mixamus = (((Math.floor(bekance / tenticle)) * tenticle) + sever);
- maxamus = (((Math.floor(bekance / tenticle)) * tenticle) + atesy);
- // Double bet logic
- const bulp = (((bekance > mixamus) && (bekance < maxamus) && bekance > theolbekance)||((bekance > mixamus) && (bekance < maxamus) && bekance < theolbekance));
- if (bulp){
- tuckker += tuckker
- theolbekance = parseFloat(bekance);
- }
- if ((bekance>=(james+tenticle))&&!bulp) {
- tuckker = beast;
- theolbekance = 0;
- james = ((Math.floor(bekance / tenticle)) * tenticle);
- }
- // Winner check
- if (bekance > winnerThreshold) {
- console.log("Winner!");
- return; // Exit the loop if the winner condition is met
- }
- $('#pct_chance').val(49.5);
- $('#pct_bet').val((tuckker).toFixed(8));
- $('#a_lo').click();
- // Update oldBalance with the current balance for the next check
- oldBelance = parseFloat(bekance);
- }
- profitCalculation = ((bekance - origin) * 1).toFixed(8);
- console.log("Profit: ", profitCalculation);
- // Continue the loop after a 1 second delay (1000ms)
- setTimeout(godo, 1); // Adjust the delay to a more reasonable 1 second
- }
- // Start the loop
- godo();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement