Advertisement
coinwalk

manual expanded

Jun 15th, 2020
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 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=200;
  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.05)) {
  28. nextbet=basebet;
  29. more=(parseFloat(balance));
  30. }else if (Math.fmod(loss,(getR(8,11)))==0) {
  31. nextbet=previousbet*2;
  32. }else{
  33. nextbet=previousbet;
  34. }
  35. if (balance < nextbet) {
  36. //stop();
  37. $('#notification').html('you busted');
  38. alert('you busted');
  39. log('you busted');
  40. return;
  41. }
  42.  
  43.  
  44. if (balance > target) {
  45. //stop();
  46. $('#notification').html('Relax & Reload');
  47. alert('Relax & Reload');
  48. log('Relax & Reload');
  49. return;
  50. }
  51. parseFloat(document.getElementById('BetSizeInput').value = (nextbet));
  52. $('#BetLowButton').click();}
  53.  
  54. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement