Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ------------------------------------------------------------------------------------------------------------------------
- // ------------------------------------------------------------------------------------------------------------------------
- var baseBet = 100; // Set the base bet here.
- // ------------------------------------------------------------------------------------------------------------------------
- // --------------------------------------------------------------------------------------------------
- // I recommend not to edit the settings below. They were calculated to be the best options possible.
- // --------------------------------------------------------------------------------------------------
- var skip1 = 1; // skip X games after second lost game.
- var skip2 = 0; // skip X games after third lost game.
- var skip3 = 1; // skip X games after fourth lost game.
- var skip4 = 0; // skip X games after fifth lost game.
- var skip5 = 1; // skip X games after sixth lost game.
- var skip6 = 2; // skip X games afterwards. This means the script will bet once and then skip X games.
- // This would continue to happen until a game is won or you bust.
- // ------------------------------------------------------------------------------------------
- // The Code
- // ------------------------------------------------------------------------------------------
- var bet = baseBet * 100;
- var currentBet = bet;
- var cashOut = 1.05;
- var startBalance = engine.getBalance();
- var currentBalance = startBalance;
- var losses = 0;
- var skip = 0;
- var lostGames = 0;
- var waitXgames = 0;
- var CO = 0;
- engine.on('game_starting', function(info) {
- if (currentBet && engine.lastGamePlay() == 'LOST') {
- lostGames++;
- currentBalance = engine.getBalance();
- losses = startBalance - currentBalance;
- currentBet *= 2;
- cashOut = (losses / currentBet) + 1.01;
- if (lostGames >= 3) {
- waitXgames = 0;
- if (lostGames == 3) {
- skip = skip1;
- }
- if (lostGames == 4) {
- skip = skip2;
- }
- if (lostGames == 5) {
- skip = skip3;
- }
- if (lostGames == 6) {
- skip = skip4;
- }
- if (lostGames == 7) {
- skip = skip5;
- }
- if (lostGames >= 8) {
- skip = skip6;
- }
- }
- } else {
- currentBalance = engine.getBalance();
- if (currentBalance > startBalance) {
- currentBet = bet;
- cashOut = 1.05;
- startBalance = engine.getBalance();
- lostGames = 0;
- skip = 0;
- }
- }
- if (waitXgames >= skip) {
- console.log('Placing bet of', Math.floor(currentBet / 100), 'at', Math.round(cashOut * 100) / 100, 'Cash out.');
- engine.placeBet(Math.floor(currentBet / 100) * 100, Math.floor(cashOut * 100), false);
- }
- });
- engine.on('game_crash', function(data) {
- if (data.game_crash / 100 >= CO) {
- waitXgames++;
- } else {
- waitXgames++;
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement