Advertisement
coinwalk

bit more like it

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