Advertisement
coinwalk

seriously cool that works best

Jun 25th, 2020
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 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. $('#LastBetInfoSecret').unbind('DOMSubtreeModified');
  20. onBetComplete = function(e){
  21. var xol= getR(1,3)
  22. var now;
  23. if (xol==1){
  24. now = Math.ceil(getR(7777,9999));
  25. }else if (xol==2) {
  26. now = Math.ceil(getR(70000,80000));
  27. }else{
  28. now = Math.ceil(getR(500,999));
  29. }
  30. setTimeout(() => {
  31. $(".ManualSeedControls:visible input").val(now)}, 20);
  32. }
  33. $('#LastBetInfoSecret').bind('DOMSubtreeModified', onBetComplete );}
  34. setInterval(() => go(), 30);
  35.  
  36. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  37.  
  38. var longer = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  39. var winn=0;
  40. var chance = 49.95;
  41. var nextbet;
  42. midwinn=0;
  43. midloss=0;
  44. var fraction=80000;
  45.  
  46. var long = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  47. var basebet=longer/fraction;
  48. var more = (document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
  49. var target = 500;
  50. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  51. function dobet(){
  52. var secret=parseFloat($('#LastBetInfoSecret').html());
  53. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  54. var previousbet=document.getElementById('BetSizeInput').value;
  55. document.getElementById('BetChanceInput').value = chance;
  56. basebet=bal/fraction;
  57. if (secret < 500500) {
  58. winn=0;
  59. winn=0;
  60. }else{
  61. winn++;
  62. }
  63. if (winn==2){
  64. nextbet = previousbet*2;
  65. winn=0;
  66. }
  67. if (bal >= more+(basebet*3)) {
  68. nextbet = previousbet*2;
  69. more = (parseFloat(bal));
  70. }
  71. if (bal >= (long*((1/fraction)+1))) {
  72. nextbet = basebet;
  73. long=(parseFloat(bal));
  74. }
  75. if (nextbet==null){
  76. nextbet=previousbet;}
  77.  
  78. if (bal > target) {
  79. //stop();
  80. $('#notification').html('Relax & Reload');
  81. alert('Relax & Reload');
  82. console.log('Relax & Reload');
  83. return;
  84. }
  85. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  86. $('#BetHighButton').click();}
  87.  
  88. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement