curly4

10x Script

Dec 16th, 2021
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. var config = {
  2. baseBet: { value: '100', type: 'balance', label: 'Base Bet'},
  3. minBet: { value: '100', type: 'balance', label: 'Min Bet'},
  4. maxBet: { value: '1e8', type: 'balance', label: 'Max Bet'},
  5. protectBal: { value: '100000', type: 'balance', label: 'Protect Balance'},
  6. };
  7.  
  8. var baseBet = config.baseBet.value/100;
  9. var baseMultiplier = 10;
  10.  
  11.  
  12. var minBet = config.minBet.value;
  13. var maxBet = config.maxBet.value;
  14. var protectBal = config.protectBal.value;
  15.  
  16.  
  17. // DO NOT CHANGE
  18. var currentBet = baseBet;
  19. var currentMultiplier = baseMultiplier;
  20. var currentMinBet = minBet;
  21. var currentMaxBet = maxBet;
  22.  
  23. // LOCKERS
  24. var betUnlock = true;
  25. var putBet = currentBet;
  26. var putMultiplier = currentMultiplier;
  27. var OktoGo = true;
  28.  
  29.  
  30.  
  31. engine.on('GAME_STARTING', function() {
  32.  
  33. if (userInfo.balance < protectBal) {
  34. stop('Script was Stopped due to balance is protected. balance is '+ userInfo.balance);
  35. }
  36.  
  37. if (putBet >= currentMaxBet/100) {
  38. stop('Script was Stopped due to the bet size exceeded maximum allowed bet size');
  39. }
  40.  
  41. if (putBet < currentMinBet/100) {
  42. stop('Script was Stopped due to the bet size is lower than allowed minimum bet size');
  43. }
  44.  
  45. if (OktoGo && betUnlock){
  46. putBet = Math.round(putBet);
  47. engine.bet(parseInt(putBet*100), parseFloat(putMultiplier));
  48. log('You are ready to play! ');
  49. log('A bet will be placed:- Bet Size: '+ putBet +' Multiplier: '+ putMultiplier);
  50. }
  51.  
  52. });
  53.  
  54. engine.on('GAME_STARTED', function() {
  55. if (engine.getCurrentBet()){
  56. var cbet = engine.getCurrentBet();
  57. log('Game Started with '+ (cbet.wager/100) + ' * ' + cbet.payout+ 'x');
  58. } else {
  59. log('A bet did not placed!');
  60. }
  61. });
  62.  
  63. engine.on('GAME_ENDED', function() {
  64.  
  65. var lastGame = engine.history.first();
  66.  
  67. log('Game crashed at '+ lastGame.bust);
  68.  
  69. log('Last Game wagered at '+ (lastGame.wager)/100);
  70.  
  71. if (lastGame.wager > 0){
  72. if (lastGame.cashedAt){
  73. putBet = currentBet;
  74. betUnlock = true;
  75. log('You Won the Last Game');
  76. } else {
  77. putBet = (putBet*1.1111) + (baseBet);
  78. betUnlock = true;
  79. log('You Lost the Last Game');
  80. }
  81. }
  82. });
Advertisement
Add Comment
Please, Sign In to add comment