Advertisement
coinwalk

lol

Jun 23rd, 2020
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 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 no () {
  19. var vim = document.getElementsByClassName("HighlightedText FairTabServerSeedHash")[0].innerHTML
  20. return parseInt(vim,16);
  21. }
  22.  
  23. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  24.  
  25. var longer = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  26. var loss=0;
  27. var winn=0;
  28. var chance = 49.95;
  29. var nextbet;
  30. midwinn=0;
  31. midloss=0;
  32. var fraction=8;
  33. var basebet=longer/fraction;
  34. var more = (document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
  35. var target = 500;
  36. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  37.  
  38. function dobet(){
  39. var secret=parseFloat($('#LastBetInfoSecret').html());
  40. var bal=document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  41. var previousbet=document.getElementById('BetSizeInput').value;
  42. document.getElementById('BetChanceInput').value = chance;
  43. basebet=bal/fraction;
  44. if (secret < 500500) {
  45. loss++;
  46. winn=0;
  47. }else{
  48. winn++;
  49. }
  50. if (bal >= more+(basebet*3)) {
  51. nextbet = previousbet*2.1;
  52. more = (parseFloat(bal));
  53. }else if (Math.fmod(winn,3)==0){
  54. nextbet = previousbet*2.1;
  55. } else {
  56. nextbet=previousbet;
  57. }
  58.  
  59. if (nextbet >= (bal/4)) {
  60. nextbet = basebet;
  61. }
  62.  
  63. if (bal > target) {
  64. //stop();
  65. $('#notification').html('Relax & Reload');
  66. alert('Relax & Reload');
  67. console.log('Relax & Reload');
  68. return;
  69. }
  70. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  71. $('#BetHighButton').click();}
  72.  
  73. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement