Advertisement
coinwalk

way better

Jun 15th, 2020
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 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. Math.fmod = function (a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  7.  
  8. var longer = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  9. var long = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  10. var loss=2;
  11. var lol=0;
  12. var fraction=20;
  13. var basebet=longer/fraction;
  14. var more = (document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText);
  15. var target = 12000;
  16. parseFloat(document.getElementById('BetSizeInput').value = (basebet));
  17. function dobet(){
  18. var chance = 49.95;
  19. var secret = parseFloat($('#LastBetInfoSecret').html());
  20. var balance = document.getElementsByClassName("Numbers HighlightedText UserBalance")[0].innerText;
  21. var nextbet;
  22. var previousbet=document.getElementById('BetSizeInput').value;
  23. document.getElementById('BetChanceInput').value = chance;
  24. if (secret > 499499) {
  25. loss++;
  26. }
  27. if (balance >= (more*1.5)) {
  28. nextbet=basebet;
  29. lol=0;
  30. more=(parseFloat(balance));
  31. }else if (balance<=(more/2)){
  32. nextbet=balance/20;
  33. lol++;
  34. }else if (lol>1){
  35. nextbet=previousbet;
  36. }else if (Math.fmod(loss,(getR(11,16)))==0) {
  37. nextbet=previousbet*2;
  38. }else{
  39. nextbet=previousbet;
  40. }
  41.  
  42. if (balance > target) {
  43. //stop();
  44. $('#notification').html('Relax & Reload');
  45. alert('Relax & Reload');
  46. log('Relax & Reload');
  47. return;
  48. }
  49. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  50. $('#BetLowButton').click();}
  51.  
  52. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement