Advertisement
coinwalk

ffs

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