Advertisement
coinwalk

trial

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