Advertisement
coinwalk

trial

Jun 7th, 2022
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. var divider = 10000; var chance = 49.5; var a = 1;
  2. var balance = parseFloat(document.getElementById('pct_balance').value);
  3. var olds = parseFloat(document.getElementById('pct_balance').value);
  4. var target = 5000;
  5. var betAmt = ((balance/divider).toFixed(8));
  6. var mybet;
  7. var crypt = betAmt;
  8. document.getElementById('pct_chance').value = chance;
  9. parseFloat(document.getElementById('pct_bet').value = betAmt);
  10. function dobet(){
  11. balancez = document.getElementById('pct_balance').value;
  12. var stuit = document.getElementById('pct_bet').value;
  13. document.getElementById('pct_chance').value = chance;
  14. if (mybet==null) {
  15. mybet = stuit;
  16. }
  17. if (balancez>balance) {
  18. balance = parseFloat(balancez);
  19. mybet = crypt*2;
  20. crypt = crypt*2;
  21. }
  22. if ((balancez<balance) {
  23. balance = parseFloat(balancez);
  24. mybet = betAmt;
  25. crypt = betAmt;
  26. }
  27. if (balancez>(olds+(betAmt*10)))) {
  28. balance = parseFloat(balancez);
  29. mybet = betAmt;
  30. crypt = betAmt;
  31. olds = olds+((Math.floor((balancez-olds)/(betAmt*10)).toPrecision(1))*(betAmt*10))
  32. }
  33. if (balancez>=target) {
  34. //stop();
  35. return;
  36. }
  37. if (a==0) {
  38. //stop();
  39. return;
  40. }
  41. balancez = document.getElementById('pct_balance').value;
  42. parseFloat(document.getElementById('pct_bet').value = ((mybet*1).toFixed(8)));
  43. $('#a_lo').click();
  44. console.log(balancez, balance, mybet, target);
  45. }
  46. setInterval(() => dobet(), 300);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement