Download Free Freebitco.in Good Script


SUBMITTED BY: cooldudeyogi

DATE: Nov. 19, 2017, 5:28 a.m.

UPDATED: Nov. 19, 2017, 5:41 a.m.

FORMAT: Text only

SIZE: 3.8 kB

HITS: 2700

  1. // work only if create new account with link: https://freebitco.in/?r=4289402
  2. var startValue = '0.00000003', // Don't lower the decimal point more than 4x of current balance
  3. profit = 2,
  4. errorsToDouble = 1 // quantidade de erros antes da primeira dobra
  5. resetAfterDouble = 1 // 0 = desativado, 1 = ativado, quando ativado o script vai resetar depois da quantidade de dobras definidas na variavel seguinte
  6. foldsBeforeReset = 30 // quantidade de dobras feitas antes do script resetar, so funciona se a variavel anterior estiver ativada.
  7. stopPercentage = 0.001,
  8. maxWait = 555,
  9. stopped = false, // debugging
  10. stopBefore = 1, // In minutes for timer before stopping redirect on webpage
  11. counter = 1;
  12. var $loButton = $('#double_your_btc_bet_lo_button'),
  13. $hiButton = $('#double_your_btc_bet_hi_button');
  14. function counterPlus(){
  15. counter = (counter + 1);
  16. }
  17. function multiply(){
  18. if(counter < errorsToDouble)
  19. {
  20. counterPlus()
  21. }
  22. else if (counter === errorsToDouble)
  23. {
  24. counterPlus()
  25. var current = $('#double_your_btc_stake').val();
  26. var multiply = (current * profit).toFixed(8);
  27. $('#double_your_btc_stake').val(multiply);
  28. }
  29. else if(resetAfterDouble === 1, counter === foldsBeforeReset + 1){
  30. counter = 1
  31. var current = $('#double_your_btc_stake').val();
  32. var multiply = (0.00000001).toFixed(8);
  33. $('#double_your_btc_stake').val(multiply);
  34. }
  35. else{
  36. counterPlus()
  37. var current = $('#double_your_btc_stake').val();
  38. var multiply = (current * 2).toFixed(8);
  39. $('#double_your_btc_stake').val(multiply);
  40. }
  41. }
  42. function getRandomWait(){
  43. var wait = Math.floor(Math.random() * maxWait ) + 100;
  44. console.log('Waiting for ' + wait + 'ms before next bet.');
  45. return wait ;
  46. }
  47. function startGame(){
  48. console.log('Game started!');
  49. reset();
  50. $loButton.trigger('click');
  51. }
  52. function stopGame(){
  53. console.log('Game will stop soon! Let me finish.');
  54. stopped = true;
  55. }
  56. function reset(){
  57. $('#double_your_btc_stake').val(startValue);
  58. }
  59. // quick and dirty hack if you have very little bitcoins like 0.00000001
  60. function deexponentize(number){
  61. return number * 10000000;
  62. }
  63. function iHaveEnoughMoni(){
  64. var balance = deexponentize(parseFloat($('#balance').text()));
  65. var current = deexponentize($('#double_your_btc_stake').val());
  66. return ((balance)*2/100) * (current*2) > stopPercentage/100;
  67. }
  68. function stopBeforeRedirect(){
  69. var minutes = parseInt($('title').text());
  70. if( minutes < stopBefore )
  71. {
  72. console.log('Approaching redirect! Stop the game so we don\'t get redirected while loosing.');
  73. stopGame();
  74. return true;
  75. }
  76. return false;
  77. }
  78. // Unbind old shit
  79. $('#double_your_btc_bet_lose').unbind();
  80. $('#double_your_btc_bet_win').unbind();
  81. // Loser
  82. $('#double_your_btc_bet_lose').bind("DOMSubtreeModified",function(event){
  83. if( $(event.currentTarget).is(':contains("lose")') )
  84. {
  85. console.log('You LOST! Multiplying your bet and betting again.');
  86. console.log(counter);
  87. multiply();
  88. setTimeout(function(){
  89. $loButton.trigger('click');
  90. }, getRandomWait());
  91. //$loButton.trigger('click');
  92. }
  93. });
  94. // Winner
  95. $('#double_your_btc_bet_win').bind("DOMSubtreeModified",function(event){
  96. if( $(event.currentTarget).is(':contains("win")') )
  97. {
  98. if( stopBeforeRedirect() )
  99. {
  100. return;
  101. }
  102. if( iHaveEnoughMoni() )
  103. {
  104. console.log('You WON! But don\'t be greedy. Restarting!');
  105. counter = 1
  106. reset();
  107. if( stopped )
  108. {
  109. stopped = false;
  110. return false;
  111. }
  112. }
  113. else
  114. {
  115. console.log('You WON! Betting again');
  116. }
  117. setTimeout(function(){
  118. $loButton.trigger('click');
  119. }, getRandomWait());
  120. }
  121. });startGame()

comments powered by Disqus