Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function calculatebaseBet(balance) {
- return balance / 1000;
- }
- var baseBet = calculatebaseBet(parseFloat(document.getElementById('pct_balance').value));
- var base = baseBet;
- var snowy = 0;
- var previousBalance = Math.floor(parseFloat(document.getElementById('pct_balance').value) / (baseBet * 100)) * (baseBet * 100);
- var great = parseFloat(document.getElementById('pct_balance').value);
- var troll = false;
- var beast = baseBet; // Initial bet amount
- var seventy = (baseBet*69.9);
- var eighty = (baseBet*79.9);
- var sole = (Math.floor(balance / (baseBet*10) )) * (baseBet*10) ;
- var balance = parseFloat(document.getElementById('pct_balance').value);
- var sevens = baseBet*6.9;
- var eights = baseBet*7.9;
- function start() {
- great = parseFloat(document.getElementById('pct_balance').value);
- balance = great;
- if ((great > ((Math.floor(great / (baseBet*10) )) * (baseBet*10) ) + sevens) && (great < ((Math.floor(great / (baseBet * 10))) * (baseBet * 10)) + eights) && (great != snowy)) {
- beast *= 2;
- snowy = parseFloat(great);
- }
- if ((balance<=(((Math.floor(balance / (baseBet * 10)))*(baseBet*10))+(3*baseBet)))&&(troll)) {
- troll = false;
- baseBet = base;
- snowy = 0;
- beast = baseBet;
- previousBalance = (Math.floor(balance /(baseBet*10) )) * (baseBet*10);
- }
- if ((balance >= (((Math.floor(balance / (baseBet * 100)))*(baseBet*100))+(baseBet*69.9)))&&(balance <= (((Math.floor(balance / (baseBet * 100))) * (baseBet * 100))+(baseBet*79.9)))) {
- baseBet = baseBet*10;
- beast = baseBet * 2;
- troll = true;
- snowy = parseFloat(great);
- previousBalance = Math.floor(balance / (baseBet*10) ) * (baseBet*10) ;
- }
- if (balance>(sole+(baseBet*10))) {
- troll = false;
- baseBet = base;
- beast = baseBet;
- snowy = 0;
- previousBalance = Math.floor(balance / (baseBet * 100)) * (baseBet * 100);
- sole = Math.floor(balance / (baseBet * 10)) * (baseBet * 10);
- }
- $('#pct_chance').val(49.5);
- $('#pct_bet').val(beast.toFixed(8)); // Ensure brackets are correctly placed
- document.body.firstChild.children[5].firstChild.lastChild.lastElementChild.lastChild.click();
- setTimeout(() => start(), 1); // Adjust timeout as needed
- }
- start();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement