Nando0508

1.12

Oct 23rd, 2019
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.84 KB | None | 0 0
  1. BustaBit Script
  2.  
  3. var baseBet = Math.round(35/0.12);
  4. var bet = baseBet * 45;
  5. var cashOut = 1.13;
  6.  
  7. var currentBet = bet;
  8. var startBalance = engine.getBalance();
  9. var currentBalance = startBalance;
  10.  
  11. var skip1 = 1; // after 3rd loss
  12. var skip2 = 2; // after 4th loss
  13. var skip3 = 1; // after 5th loss
  14. var skip4 = 2; // after 6th loss
  15. var skip5 = 6; // after 7th loss
  16. var skip6 = 2; // after 8th loss
  17. var skip7 = 3; // after 9th loss
  18.  
  19. var losses = 0;var skip = 0;var lostGames = 0;var waitXgames = 0;var CO = 0;var winStreak = 0;result = 'No results yet. ';
  20. var lossStreak = 0;
  21. console.log('%c----------Start!----------', 'color: green; font-weight:bold')
  22. engine.on('game_starting', function(info) {
  23. if (currentBet && engine.lastGamePlay() == 'LOST') {
  24. //if loss
  25. lossStreak++;
  26. lostGames++;
  27. winStreak = 0;
  28. currentBalance = engine.getBalance();
  29. losses = startBalance - currentBalance;
  30.  
  31. currentBet *= 1.18; //bet raise on loss
  32. cashOut = (losses / currentBet) + 1.13; //cashout multiplier increase on loss
  33.  
  34. if (lostGames >= 1) {
  35. waitXgames = 0;
  36. if (lostGames == 3) {skip = skip1;}
  37. if (lostGames == 4) {skip = skip2;}
  38. if (lostGames == 5) {skip = skip3;}
  39. if (lostGames == 6) {skip = skip4;}
  40. if (lostGames == 7) {skip = skip5;}
  41. if (lostGames == 8) {skip = skip6;}
  42. if (lostGames >= 9) {skip = skip7;}
  43. }
  44. } else {
  45. //if win
  46. currentBalance = engine.getBalance();
  47. if (currentBalance > startBalance) {
  48. winStreak++;
  49. if (winStreak >= 2) {
  50. currentBet *= 1.00; //bet raise on win
  51. cashOut *= 1.00; //cashout win raise
  52. } else {
  53. console.log('%cBetting Reset', 'color: green; font-weight:bold')
  54. currentBet = bet; //reset betting on win
  55. cashOut = 1.13;
  56. }
  57. startBalance = engine.getBalance();
  58. lostGames = 0;
  59. skip = 0;
  60. //reset betting on 10 winStreak
  61. if (winStreak % 7 === 0) {
  62. console.log('%c7 wins', 'color: green; font-weight:bold')
  63. console.log('%cBetting Reset', 'color: green; font-weight:bold')
  64. currentBet = bet; //reset bet
  65. cashOut = 1.13; //reset the cashout
  66. }
  67. }
  68. }
  69. if (currentBet && engine.lastGamePlay() == 'WON') {
  70. lossStreak = 0;
  71. }
  72. if (waitXgames >= skip) {
  73. if (currentBet && engine.lastGamePlay() == 'WON') {
  74. console.log('%cYou win', 'color: green; font-weight:bold')
  75. }
  76. if (currentBet && engine.lastGamePlay() == 'LOST') {
  77. console.log('%cYou lose', 'color: red; font-weight:bold')
  78. }
  79. if (winStreak > '1') {
  80. console.log('Current win streak is', winStreak)
  81. }
  82. if (lossStreak > '1') {
  83. console.log('Current loss streak is', lossStreak)
  84. }
  85. console.log('--------New Round--------')
  86. console.log('', Math.floor(currentBet / 100), 'bits bet at', Math.round(cashOut * 100) / 100, 'x');
  87. engine.placeBet(Math.floor(currentBet / 100) * 100, Math.floor(cashOut * 100), false);
  88. } else {
  89. console.log('--------New Round--------')
  90. console.log('Cooling off. No bets this round.')
  91. console.log('Current loss streak is', lossStreak)
  92. winStreak = 0;
  93. }
  94. });
  95.  
  96. //detect Busted
  97. engine.on('game_crash', function(data) {
  98. if (data.game_crash / 100 >= CO) {
  99. console.log('Game [Busted] at ' + (data.game_crash / 100) + 'x');
  100. waitXgames++;
  101. } else {
  102. waitXgames++;
  103. }
  104. });
Advertisement
Add Comment
Please, Sign In to add comment