Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Bustabit BlackShadow Red Light Strat
- // By: BlackShadow & MartinG
- // Version 1.1
- var bet = 1111; // bits to bet
- var cashout = 1.40; // cashout
- var low = 1.10; // place bets only after a game crashed above or at this value
- var high = 1.22; // place bets only after a game crashed below or at this value
- /****************************************************************/
- low = Math.floor(low * 100);
- high = Math.floor(high * 100);
- cashout = Math.floor(cashout * 100);
- bet = Math.floor(bet) * 100;
- var lastCrash = null;
- engine.on('game_crash', function(data) {
- lastCrash = data.game_crash;
- });
- engine.on('game_starting', function(info) {
- if(lastCrash != null && lastCrash <= high && lastCrash >= low) {
- console.log("Betting");
- engine.placeBet(bet, cashout);
- } else {
- console.log("Not Betting");
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement