SHOW:
|
|
- or go back to the newest paste.
| 1 | /* All props go to Viska (not sure who that is but thank you :)) for making this script. I just tweaked some numbers and it works amazingly well now. I'd recommend just putting the script in as is, but if you want you can change it to your liking. The #1 thing I would change is your base bet to fit your preference. Its written kinda weird but I just left it as it was originally written. | |
| 2 | ||
| 3 | Lastly, This script doesn't make a ton of money fast, but if you let it run you will slowly start to see a nice steady gain :) | |
| 4 | And of course nothing is perfect but this is pretty solid as f*%#. Go Bust Sum Bitches Brothas! | |
| 5 | ||
| 6 | -Peace Out, T-Train | |
| 7 | */ | |
| 8 | ///////////////////////////////////// | |
| 9 | // Viska's BustaBit Script Modified By T-Train | |
| 10 | var bankroll = engine.getBalance()/1000; | |
| 11 | var baseBet = Math.round(bankroll / 1.777); // You can have this anywhere from .45 to 1.9 or more. The smaller the more risk | |
| 12 | var bet = baseBet * 1; | |
| 13 | var cashOut = 2.00; | |
| 14 | ||
| 15 | var currentBet = bet; | |
| 16 | var startBalance = engine.getBalance(); | |
| 17 | var currentBalance = startBalance; | |
| 18 | ||
| 19 | var skip1 = 0; // after 3rd loss | |
| 20 | var skip2 = 0; // after 4th loss | |
| 21 | var skip3 = 0; // after 5th loss | |
| 22 | var skip4 = 0; // after 6th loss | |
| 23 | var skip5 = 0; // after 7th loss | |
| 24 | var skip6 = 0; // after 8th loss | |
| 25 | var skip7 = 0; // after 9th loss | |
| 26 | ||
| 27 | var losses = 0;var skip = 0;var lostGames = 0;var waitXgames = 0;var CO = 0;var winStreak = 0;result = 'No results yet. '; | |
| 28 | var lossStreak = 0; | |
| 29 | console.log('%c----------Start!----------', 'color: green; font-weight:bold')
| |
| 30 | engine.on('game_starting', function(info) {
| |
| 31 | if (currentBet && engine.lastGamePlay() == 'LOST') {
| |
| 32 | //if loss | |
| 33 | lossStreak++; | |
| 34 | lostGames++; | |
| 35 | winStreak = 0; | |
| 36 | currentBalance = engine.getBalance(); | |
| 37 | losses = startBalance - currentBalance; | |
| 38 | ||
| 39 | currentBet *= 1.056777; //bet raise on loss | |
| 40 | cashOut = (losses / currentBet) + 2.25; //cashout multiplier increase on loss | |
| 41 | ||
| 42 | if (lostGames >= 1) {
| |
| 43 | waitXgames = 0; | |
| 44 | if (lostGames == 3) {skip = skip1;}
| |
| 45 | if (lostGames == 4) {skip = skip2;}
| |
| 46 | if (lostGames == 5) {skip = skip3;}
| |
| 47 | if (lostGames == 6) {skip = skip4;}
| |
| 48 | if (lostGames == 7) {skip = skip5;}
| |
| 49 | if (lostGames == 8) {skip = skip6;}
| |
| 50 | if (lostGames >= 9) {skip = skip7;}
| |
| 51 | } | |
| 52 | } else {
| |
| 53 | //if win | |
| 54 | currentBalance = engine.getBalance(); | |
| 55 | if (currentBalance > startBalance) {
| |
| 56 | winStreak++; | |
| 57 | if (winStreak >= 2) {
| |
| 58 | currentBet *= 1.00; //bet raise on win | |
| 59 | cashOut *= 3.5; //cashout win raise | |
| 60 | } else {
| |
| 61 | console.log('%cBetting Reset', 'color: green; font-weight:bold')
| |
| 62 | currentBet = bet; //reset betting on win | |
| 63 | cashOut = 2.00; | |
| 64 | } | |
| 65 | startBalance = engine.getBalance(); | |
| 66 | lostGames = 0; | |
| 67 | skip = 0; | |
| 68 | //reset betting on 10 winStreak | |
| 69 | if (winStreak % 7 === 0) {
| |
| 70 | console.log('%c7 wins', 'color: green; font-weight:bold')
| |
| 71 | console.log('%cBetting Reset', 'color: green; font-weight:bold')
| |
| 72 | currentBet = bet; //reset bet | |
| 73 | cashOut = 2.00; //reset the cashout | |
| 74 | } | |
| 75 | } | |
| 76 | } | |
| 77 | if (currentBet && engine.lastGamePlay() == 'WON') {
| |
| 78 | lossStreak = 0; | |
| 79 | } | |
| 80 | if (waitXgames >= skip) {
| |
| 81 | if (currentBet && engine.lastGamePlay() == 'WON') {
| |
| 82 | console.log('%cYou win', 'color: green; font-weight:bold')
| |
| 83 | } | |
| 84 | if (currentBet && engine.lastGamePlay() == 'LOST') {
| |
| 85 | console.log('%cYou lose', 'color: red; font-weight:bold')
| |
| 86 | } | |
| 87 | if (winStreak > '1') {
| |
| 88 | console.log('Current win streak is', winStreak)
| |
| 89 | } | |
| 90 | if (lossStreak > '1') {
| |
| 91 | console.log('Current loss streak is', lossStreak)
| |
| 92 | } | |
| 93 | console.log('--------New Round--------')
| |
| 94 | console.log('', Math.floor(currentBet / 100), 'bits bet at', Math.round(cashOut * 100) / 100, 'x');
| |
| 95 | engine.placeBet(Math.floor(currentBet / 100) * 100, Math.floor(cashOut * 100), false); | |
| 96 | } else {
| |
| 97 | console.log('--------New Round--------')
| |
| 98 | console.log('Cooling off. No bets this round.')
| |
| 99 | console.log('Current loss streak is', lossStreak)
| |
| 100 | winStreak = 0; | |
| 101 | } | |
| 102 | }); | |
| 103 | ||
| 104 | //detect Busted | |
| 105 | engine.on('game_crash', function(data) {
| |
| 106 | if (data.game_crash / 100 >= CO) {
| |
| 107 | console.log('Game [Busted] at ' + (data.game_crash / 100) + 'x');
| |
| 108 | waitXgames++; | |
| 109 | } else {
| |
| 110 | waitXgames++; | |
| 111 | } | |
| 112 | }); |