Advertisement
coinwalk

chicken good

Jul 31st, 2020
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.25 KB | None | 0 0
  1. function resetseed(){
  2. var a=document.getElementsByClassName('ManualSeedControls')[0];
  3. if(!a)return;
  4. if(a.style.display!='block'){
  5. console.log('Enabling manual seed');
  6. if(document.getElementById('AccountTabManualSeed')){
  7. document.getElementById('AccountTabManualSeed').click();
  8. }
  9. resetseed();
  10. }
  11. }
  12. resetseed();
  13. function getR(min, max) {
  14. min = Math.ceil(min);
  15. max = Math.floor(max);
  16. return Math.floor(Math.random() * (max - min + 1)) + min;
  17. }
  18. function go () {
  19. var xol =getR(1,3);
  20. $('#LastBetInfoSecret').unbind('DOMSubtreeModified')
  21. onBetComplete = function(e){
  22. var myseed;
  23. if (xol==1) {
  24. myseed = getR(7777,9999);
  25. } else if (xol==2) {
  26. myseed = getR(50000,77777);
  27. } else {
  28. myseed = getR(50,99);
  29. }
  30. setTimeout(() => {
  31. $(".ManualSeedControls:visible input").val(myseed)}, 50);
  32. }
  33. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  34. setInterval(() => go(), 51);
  35.  
  36. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  37. var good=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  38. var longer=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  39. var long=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  40. var loss=0;
  41. var bs;
  42. var chance = 49.95;
  43. var nextbet;
  44. var fraction=50000;
  45. var basebet=longer/fraction;
  46. var more = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  47. var target = 50000;
  48. var nob=getR(1,2);
  49. var wyn=0;
  50. var bad=0;
  51. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  52. var bethight=0;
  53. var tossy=0;
  54. var lossy=0;
  55. var fuck;
  56. var low;
  57. var ddd;
  58. var fissy=0;
  59. var god=0;
  60. var win;
  61. var lower=true;
  62. var bem=0;
  63. var botbuddy=0
  64.  
  65. function dobet(){
  66. var secret=parseFloat($('#LastBetInfoSecret').html());
  67. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  68. var previousbet=document.getElementById('BetSizeInput').value;
  69. document.getElementById('BetChanceInput').value = chance;
  70. basebet=bal/fraction
  71. if (bal>good){
  72. console.log('in profit');
  73. }else{
  74. console.log('not in profit');
  75. }
  76.  
  77. if ((low==true)&&(secret<499500)){
  78. win=true;
  79. bs=true;
  80. }else if ((low==false)&&(secret>500499)) {
  81. win=true;
  82. bs=false;
  83. }else if ((low==false)&&(secret<499500)){
  84. win=false;
  85. bs=false;
  86. }else if ((low==true)&&(secret>500499)){
  87. win=false;
  88. bs=true;
  89. }
  90. if ((bs==false)&&(win==false)){
  91. low=true;
  92. lower=true;
  93. }else if ((bs==true)&&(win==true)) {
  94. low=true;
  95. lower=true;}
  96. else if ((bs==true)&&(win==false)){
  97. low=false;
  98. lower=false;
  99. }else if ((bs==false)&&(win==true)){
  100. low=false;
  101. lower=false;}
  102.  
  103. if (win==true) {
  104. console.log('green');
  105. botbuddy=0;
  106. nextbet=basebet
  107. }else{
  108. botbuddy++;
  109. console.log('red');
  110. }
  111. if (botbuddy>=1){
  112. nextbet= ((previousbet*1.5)+(basebet*botbuddy));}
  113.  
  114. if (bal > target) {
  115. //stop();
  116. $('#notification').html('Relax & Reload');
  117. alert('Relax & Reload');
  118. console.log('Relax & Reload');
  119. return;
  120. }
  121. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  122. if (lower==true){
  123. $('#BetLowButton').click();
  124. low=true;
  125. }
  126. if (lower==false) {
  127. $('#BetHighButton').click();
  128. low=false;
  129. }}
  130.  
  131. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement