Advertisement
Guest User

Coinscrash Script 99% profit

a guest
Aug 16th, 2023
2,222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.62 KB | None | 0 0
  1. var baseBet = 1; var baseMultiplier = 1.05;var variableBase = false;var streakSecurity = 25; var maximumBet = 999999;
  2. var baseSatoshi = baseBet * 100; var currentBet = baseSatoshi;var currentMultiplier = baseMultiplier;var currentGameID = -1;
  3. var firstGame = true;var lossStreak = 0;var coolingDown = false;
  4. console.log('=====WIN=====');
  5. console.log('My username is: ' + engine.getUsername());
  6. console.log('Starting balance: ' + (engine.getBalance() / 100).toFixed(2) + ' bits');
  7. var startingBalance = engine.getBalance();if (variableBase) {
  8. console.warn('[WARN] Variable mode is enabled and not fully tested. Bot is resillient to ' + streakSecurity + '-loss streaks.');
  9. }
  10. engine.on('game_starting', function(info) {
  11. console.log('====== New Game ======');console.log('[Bot] Game #' + info.game_id);currentGameID = info.game_id;
  12. if (coolingDown) {
  13. if (lossStreak == 0) {
  14. coolingDown = false;
  15. }
  16. else {
  17. lossStreak--;
  18. console.log('[Bot] Cooling down! Games remaining: ' + lossStreak);return;
  19. }
  20. }
  21. if (!firstGame) { // Display data only after first game played.
  22. console.log('[Stats] Session profit: ' + ((engine.getBalance() - startingBalance) / 100).toFixed(2) + ' bits');
  23. console.log('[Stats] Profit percentage: ' + (((engine.getBalance() / startingBalance) - 1) * 100).toFixed(2) + '%');
  24. }
  25. if (engine.lastGamePlay() == 'LOST' && !firstGame) {
  26. lossStreak++;var totalLosses = 0; var lastLoss = currentBet; while (lastLoss >= baseSatoshi) {
  27. totalLosses += lastLoss;lastLoss /= 4;
  28. }
  29. if (lossStreak > streakSecurity) {
  30. coolingDown = true;return;
  31. }
  32. currentBet *= 6; currentMultiplier = 1.00 + (totalLosses / currentBet);
  33. }
  34. else {
  35. lossStreak = 0; if (variableBase) {
  36. var divider = 100;for (i = 0; i < streakSecurity; i++) {
  37. divider += (100 * Math.pow(4, (i + 1)));
  38. }
  39. newBaseBet = Math.min(Math.max(1, Math.floor(engine.getBalance() / divider)), maximumBet * 100);
  40. newBaseSatoshi = newBaseBet * 100;if ((newBaseBet != baseBet) || (newBaseBet == 1)) {
  41. console.log('[Bot] Variable mode has changed base bet to: ' + newBaseBet + ' bits');
  42. baseBet = newBaseBet;baseSatoshi = newBaseSatoshi;
  43. }
  44. }
  45. currentBet = baseSatoshi; currentMultiplier = baseMultiplier;
  46. }
  47. console.log('[Bot] Betting ' + (currentBet / 100) + ' bits, cashing out at ' + currentMultiplier + 'x');
  48. firstGame = false;if (currentBet <= engine.getBalance()) {
  49. if (currentBet > (maximumBet * 100)) {
  50. console.warn('[Warn] Bet size exceeds maximum bet, lowering bet to ' + (maximumBet * 100) + ' bits');currentBet = maximumBet;
  51. }
  52. engine.placeBet(currentBet, Math.round(currentMultiplier * 100), false);
  53. }
  54. else {
  55. if (engine.getBalance() < 100) {
  56. console.error('[Bot] Insufficent funds to do anything... stopping');engine.stop();
  57. }
  58. else {
  59. console.warn('[Bot] Insufficent funds to bet ' + (currentBet / 100) + ' bits.');console.warn('[Bot] Resetting to 1 bit basebet'); baseBet = 1;baseSatoshi = 100;
  60. }
  61. }
  62. });
  63. engine.on('game_started', function(data) {
  64. if (!firstGame) { console.log('[Bot] Game #' + currentGameID + ' has started!'); }
  65. });
  66. engine.on('cashed_out', function(data) {
  67. if (data.username == engine.getUsername()) {
  68. console.log('[Bot] Successfully cashed out at ' + (data.stopped_at / 100) + 'x');
  69. }
  70. });
  71. engine.on('game_crash', function(data) {
  72. if (!firstGame) { console.log('[Bot] Game crashed at ' + (data.game_crash / 100) + 'x'); }
  73. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement