Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var baseBet = (parseFloat(document.getElementById('pct_balance').value)/100);
- var snowy = 0;
- var freak = false;
- var beast = baseBet; // Initial bet amount
- var great = parseFloat(document.getElementById('pct_balance').value);
- var boghart = parseFloat(document.getElementById('pct_balance').value);
- var boghy = ((Math.ceil(great/(baseBet*10)))*(baseBet*10));
- function start() {
- great = parseFloat(document.getElementById('pct_balance').value);
- if (great>boghy){
- freak = true;
- boghy = parseFloat(great);
- }
- if (great<boghy){
- freak = false;
- boghy = parseFloat(great);
- }
- if ((great>(((Math.floor(great/(baseBet*10)))*(baseBet*10))+(baseBet*6.9)))&&(great<(((Math.floor(great/(baseBet*10)))*(baseBet*10))+(baseBet*7.9)))&&(great!=snowy)) {
- beast *= 2;
- snowy = parseFloat(great);
- }
- if ((great<=(beast*4))&&(great<(((Math.floor(great/(baseBet*10)))*(baseBet*10))+(baseBet*6.9)))) {
- beast = baseBet;
- snowy = 0;
- }
- if ((great<=(beast*4))&&(great>(((Math.floor(great/(baseBet*10)))*(baseBet*10))+(baseBet*7.9)))) {
- beast = baseBet;
- snowy = 0;
- }
- if ((great<=(beast*4))&&(great>(((Math.floor(great/(baseBet*10)))*(baseBet*10))+(baseBet*6.9)))&&(great<(((Math.floor(great/(baseBet*10)))*(baseBet*10))+(baseBet*7.9)))) {
- beast = baseBet*2;
- snowy = parseFloat(great);
- }
- if ((beast>=boghart)&&(great<(((Math.floor(great/(baseBet*10)))*(baseBet*10))+(baseBet*6.9)))) {
- beast = baseBet;
- snowy = 0;
- }
- if (great>(boghart*4)){
- console.log("winner winner chicken dinner");
- return;
- }
- var cat = Number(((great-boghart)*1).toFixed(8));
- console.log("profit");
- console.log(cat);
- $('#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