Advertisement
coinwalk

seriously cool

Jun 25th, 2020
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.58 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. var longest = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  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=44;
  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 = longest*10;
  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 < 499499) {
  58. winn=0;
  59. }else{
  60. winn++;
  61. }
  62. if (winn==2){
  63. nextbet = ((document.getElementById('BetSizeInput').value)*2);
  64. winn=0;
  65. }
  66. if ((document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText) >= more+(basebet*3)) {
  67. nextbet = ((document.getElementById('BetSizeInput').value)*2);
  68. more = parseFloat(document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
  69. }
  70. if ((document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText) >= (long*((1/fraction)+1))) {
  71. nextbet = ((document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText)/fraction);
  72. long=parseFloat(document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
  73. }
  74. if (nextbet==null){
  75. nextbet=(document.getElementById('BetSizeInput').value);}
  76. if ((document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText) >= (longer*((1/(fraction/2))+1))) {
  77. nextbet=((document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText)/(fraction*2));
  78. longer=parseFloat(document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
  79. }
  80. if ((document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText) > target) {
  81. //stop();
  82. $('#notification').html('Relax & Reload');
  83. alert('Relax & Reload');
  84. console.log('Relax & Reload');
  85. return;
  86. }
  87. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  88. $('#BetLowButton').click();}
  89.  
  90. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement