coinwalk

freedoge

Feb 29th, 2020
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. bconfig = {
  2. maxBet: 1,
  3. wait: 700,
  4. toggleHilo:false
  5. };
  6.  
  7.  
  8. hilo = 'lo';
  9. multiplier = 2;
  10. rollDice = function() {
  11.  
  12.  
  13. if ($('#double_your_doge_bet_lose').html() !== '') {
  14. $('#double_your_doge_2x').click();
  15. $('#double_your_doge_2x').click();
  16. $('#double_your_doge_2x').click();
  17.  
  18.  
  19. multiplier++;
  20. if(bconfig.toggleHilo)toggleHiLo();
  21. } else {
  22. $('#double_your_doge_min').click();
  23. multiplier = 2;
  24. }
  25.  
  26.  
  27. if (parseFloat($('#balance').html()) < (parseFloat($('#double_your_doge_stake').val()) * 2) ||
  28. parseFloat($('#double_your_doge_stake').val()) > bconfig.maxBet) {
  29. $('#double_your_doge_min').click();
  30. }
  31.  
  32.  
  33. $('#double_your_doge_bet_' + hilo + '_button').click();
  34.  
  35.  
  36. setTimeout(rollDice, (multiplier * bconfig.wait) + Math.round(Math.random() * 100));
  37. };
  38.  
  39.  
  40. toggleHiLo = function() {
  41. if (hilo === 'lo') {
  42. hilo = 'lo';
  43. } else {
  44. hilo = 'lo';
  45. }
  46. };
  47.  
  48.  
  49. rollDice();
Add Comment
Please, Sign In to add comment