/* Dexon's Bustabit script. * Current status: Little more safer but greedy... * Version 1.2.4 * + When editing the variables, be careful to not remove any ';' or ',' character. */ var baseBet = 10, // 10 bits baseCashout = 1.28, // Cashout at x1.28 maxLoss = 4; // Amount of loss the bot will keep betting. var Simulation = false; // (true/false) Setting this to true will make the bot to simulate a betting run. //// ^EDIT OVER THIS LINE^ \\\\ var bet = baseBet; var cashout = baseCashout; var lastBet = bet; var lossStreak = 0; var firstGame = true; var profit = 0; var chill = false; var wins = 0; var loss = 0; engine.on('game_starting', function(){ if(lossStreak1){ cashout = 1.07; bet *= 14; } }else{ if(!firstGame && !chill){ wins++; console.log("Successful bet! :) ("+wins+" Wins | "+loss+" Loses)"); profit += ((lastBet*cashout)-lastBet); console.log("Current Profit: "+profit.toFixed(2)); bet = baseBet; cashout = baseCashout; lossStreak = 0; } } firstGame = false; if(chill) chill = false; }); function roundToTwo(num) { return +(Math.round(num + "e+2") + "e-2"); }