// JavaScript Document bconfig = { maxBet: 0.00102637 , //maximum bet wait: 100, //time it waits before it spins again toggleHilo:false }; //I recommend to leave this as it is. buy you can allways change some things :) hilo = 'lo'; multiplier = 1; rollDice = function() { if ($('#double_your_btc_bet_lose').html() !== '') { $('#double_your_btc_2x').click(); multiplier++; if(bconfig.toggleHilo)toggleHiLo(); } else { $('#double_your_btc_min').click(); multiplier = 1; } if (parseFloat($('#balance').html()) < (parseFloat($('#double_your_btc_stake').val()) * 2) || parseFloat($('#double_your_btc_stake').val()) > bconfig.maxBet) { $('#double_your_btc_min').click(); } $('#double_your_btc_bet_' + hilo + '_button').click(); setTimeout(rollDice, (multiplier * bconfig.wait) + Math.round(Math.random() * 100)); }; toggleHiLo = function() { if (hilo === 'lo') { hilo = 'lo'; } else { hilo = 'lo'; } }; rollDice();