Advertisement
Guest User

Bustabit/CsgoCrash Script

a guest
Dec 16th, 2017
1,129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //My best strategy so far!
  2.  
  3. //-----Use presets-----
  4. var preset = 1; //1 or 2 (Preset 1 for lower, preset 2 for Higher risk/reward) Set to 0 to disable!
  5. //DoN't use preset 2! It does not worth it! It is profitable but too risky! I do not recommend it!
  6. //Note: presets do not affect your base bet neither your stopProfit or stopLoss!
  7. //----Or use your own settings----
  8. var baseBet = 1;
  9.  
  10. var minBet = 1;
  11. var maxBet = 1000000;
  12.  
  13. var increaseBetOnLoss = 1.003; //Recommended 1.25
  14. var increaseBetOnWin = 0.001; //Recommended 0.1
  15.  
  16. var baseCashOut = 1.37;
  17. var increaseOnLoss = 1.05; //Recommended 0.15
  18. var decreaseOnWin = 1000; //Recommended 1
  19.  
  20. var maxCashOut = 300; //Recommended 5
  21. var minCashOut = 1.37; //Recommended 1.5
  22.  
  23. var stopProfit = 10000;
  24. var stopLoss = 50000;
  25.  
  26.  
  27.  
  28. //---Do not edit below---
  29.  
  30. var ourBet = baseBet;
  31. var currentCashOut = baseCashOut;
  32. var startingBalance = engine.getBalance();
  33. var gameNumber = 0;
  34. var gamesLost = 0;
  35. var gamesWon = 0;
  36. var nextCashOut = currentCashOut;
  37. var nextBet = ourBet;
  38.  
  39. if (preset == 1){
  40.   increaseBetOnLoss = 1.003;
  41.   increaseBetOnWin = 0.001;
  42.   baseCashOut = 1.37;
  43.   increaseOnLoss = 1.05;
  44.   decreaseOnWin = 1000;
  45.   maxCashOut = 300;
  46.   minCashOut = 1.37;
  47. }
  48. else if (preset == 2){
  49.   increaseBetOnLoss = 1.25;
  50.   increaseBetOnWin = 0.1;
  51.   baseCashOut = 1.5;
  52.   increaseOnLoss = 0.15;
  53.   decreaseOnWin = 1;
  54.   maxCashOut = 5;
  55.   minCashOut = 1.5;
  56. }
  57.   else {
  58.   }
  59.  
  60. var games = 0;
  61. //On game starting
  62. engine.on('game_starting', function(info){
  63.  
  64.   if (engine.lastGamePlay()==="LOST"){
  65.     ourBet=ourBet*increaseBetOnLoss;
  66.     gamesLost = gamesLost + 1;
  67.     currentCashOut = currentCashOut + increaseOnLoss;
  68.    
  69.     if (ourBet > maxBet){
  70.       ourBet = maxBet;
  71.     }
  72.    
  73.     if (currentCashOut > maxCashOut){
  74.       currentCashOut = maxCashOut;
  75.     }
  76.   }
  77.  
  78.   else if (engine.lastGamePlay()==="WON"){
  79.     ourBet=ourBet*increaseBetOnWin;
  80.     currentCashOut = currentCashOut - decreaseOnWin;
  81.     gamesWon = gamesWon + 1;
  82.      if (ourBet < minBet){
  83.       ourBet = minBet;
  84.     }
  85.    
  86.      if (currentCashOut < minCashOut){
  87.       currentCashOut = minCashOut;
  88.     }
  89.   }
  90.  
  91.   else { /* didnt play */ }
  92.    
  93.     console.log("Betting:", ourBet, "Bits - At multiplier:", currentCashOut, "x");
  94.     nextCashOut = Math.round(currentCashOut);
  95.     nextBet = Math.round(ourBet);
  96.     engine.placeBet(Math.round(ourBet)*100, Math.round(currentCashOut*100), 1);
  97.     gameNumber = gameNumber + 1;
  98. });
  99.  
  100.  
  101. //On game crash
  102. engine.on('game_crash', function(info){
  103.   games++;
  104.   if (games == 25){
  105.     engine.chat('BEST FREE SCRIPT: skamaker.com/9k3l');
  106.   }
  107.   if (games >= 50){
  108.     games = 0;
  109.     engine.chat('Subscribe to my friend on youtube! https://www.youtube.com/user/batormc');
  110.   }
  111.  
  112.   console.log("--------Bot--------");
  113.   console.log("Games played:", gameNumber);
  114.   console.log("Games won:", gamesWon);
  115.   console.log("Games lost:", gamesLost);
  116.   console.log("Total profit:", (engine.getBalance() - startingBalance)/100, "Bits");
  117.  
  118.   if (engine.getBalance() < startingBalance - stopLoss*100){
  119.       engine.stop();
  120.      }
  121.  
  122.   if (engine.getBalance() > startingBalance + stopProfit*100){
  123.       engine.stop();
  124.      }  
  125. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement