to get free bitcoin


SUBMITTED BY: marketing.tefa

DATE: Sept. 15, 2016, 12:08 a.m.

FORMAT: JavaScript

SIZE: 962 Bytes

HITS: 1965

  1. // JavaScript Document
  2. bconfig = {
  3. maxBet: 0.00102637 , //maximum bet
  4. wait: 100, //time it waits before it spins again
  5. toggleHilo:false
  6. };
  7. //I recommend to leave this as it is. buy you can allways change some things :)
  8. hilo = 'lo';
  9. multiplier = 1;
  10. rollDice = function() {
  11. if ($('#double_your_btc_bet_lose').html() !== '') {
  12. $('#double_your_btc_2x').click();
  13. multiplier++;
  14. if(bconfig.toggleHilo)toggleHiLo();
  15. } else {
  16. $('#double_your_btc_min').click();
  17. multiplier = 1;
  18. }
  19. if (parseFloat($('#balance').html()) < (parseFloat($('#double_your_btc_stake').val()) * 2) ||
  20. parseFloat($('#double_your_btc_stake').val()) > bconfig.maxBet) {
  21. $('#double_your_btc_min').click();
  22. }
  23. $('#double_your_btc_bet_' + hilo + '_button').click();
  24. setTimeout(rollDice, (multiplier * bconfig.wait) + Math.round(Math.random() * 100));
  25. };
  26. toggleHiLo = function() {
  27. if (hilo === 'lo') {
  28. hilo = 'lo';
  29. } else {
  30. hilo = 'lo';
  31. }
  32. };
  33. rollDice();

comments powered by Disqus