View difference between Paste ID: sV1Y0dbv and w9XCpe8T
SHOW: | | - or go back to the newest paste.
1
/*  Dexon's Follower Bustabit script. (http://dexontech.net)
2
 *   Current status: ... Well, your win depends on the guy you're following.
3
 *  Version 1.0.2
4
 *  + When editing the variables, be careful to not remove any ';' or ',' character.
5
 */
6
 
7
var username = "realhavok"; // Change this variable to the username of the user you which to follow.
8
var bet = 100; // 100 bits. Change this to the amount of bits you want. (cannot contains decimals)
9
 
10
engine.on('player_bet', function(data) {
11
    if(data.username.toLowerCase() == username.toLowerCase()){
12
        engine.placeBet((bet)*100, 10000, function(){});
13
    }
14
});
15
 
16
engine.on('cashed_out', function(data) {
17
    if(data.username.toLowerCase() == username.toLowerCase()){
18
        engine.cashOut();
19
    }
20
});