Advertisement
coinwalk

added 10k divide to be safer

Jun 16th, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. function getR(min, max) {
  2. min = Math.ceil(min);
  3. max = Math.floor(max);
  4. return Math.floor(Math.random() * (max - min + 1)) + min;
  5. }
  6.  
  7.  
  8. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  9.  
  10. var longer = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  11. var long = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  12. var loss=2;
  13. var vimy=0;
  14. var lol=0;
  15. var winn=0;
  16. var vim=0;
  17. var xix=0;
  18. var chance = 49.95;
  19. var nextbet;
  20. midwinn=0;
  21. midloss=0;
  22. var fraction=1000;
  23. var basebet=longer/fraction;
  24. var more = ((document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText)*1.002);
  25. var target = 0.0002;
  26. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  27.  
  28. function dobet(){
  29. var secret = parseFloat($('#LastBetInfoSecret').html());
  30. var balance = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  31. var previousbet=document.getElementById('BetSizeInput').value;
  32. document.getElementById('BetChanceInput').value = chance;
  33. if (secret < 500500) {
  34. loss++;
  35. winn=0;
  36. }else {
  37. winn++;
  38. loss=0;
  39. }
  40. if (balance >= more) {
  41. basebet=balance/fraction
  42. nextbet=basebet;
  43. lol=0;
  44. more=((parseFloat(balance))*1.002);
  45. } else if (winn>=3){
  46. winn=0;
  47. nextbet=previousbet*2.1;
  48. }else if (loss>=3){
  49. nextbet=previousbet/2;
  50. loss=0;
  51. }else if (nextbet==previousbet/2){
  52. lol++;
  53. long=(parseFloat(balance));
  54. nextbet=previousbet*2;
  55. }else if ((balance>(long))&&(lol>=1)) {
  56. nextbet=basebet;
  57. lol=0;
  58. }else if (nextbet<(more/10000)) {
  59. nextbet=basebet;
  60. }else{
  61. nextbet=previousbet;
  62. }
  63.  
  64. if (balance > target) {
  65. //stop();
  66. $('#notification').html('Relax & Reload');
  67. alert('Relax & Reload');
  68. console.log('Relax & Reload');
  69. return;
  70. }
  71. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  72. $('#BetHighButton').click();}
  73.  
  74. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement