Advertisement
coinwalk

snowybot mega javascript just-dice

Oct 10th, 2021
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. var belance = document.getElementById('pct_balance').value;
  2. var bob = (belance/50000).toFixed(8);
  3. var target = 64000;
  4. parseFloat(document.getElementById('pct_bet').value = bob);
  5. parseFloat(document.getElementById('pct_profit').value = (((bob*10)-bob).toFixed(8)));
  6. var old = document.getElementById('pct_balance').value;
  7. var olda = document.getElementById('pct_balance').value;
  8. var older = document.getElementById('pct_balance').value;
  9. var olderest = document.getElementById('pct_balance').value
  10. var x = bob
  11. var v = 10000000
  12. var win;
  13. var nextbet;
  14.  
  15.  
  16. function dobet(){
  17. console.clear()
  18. var balance=document.getElementById('pct_balance').value;
  19. var previousbet = document.getElementById('pct_bet').value;
  20. document.getElementById('pct_chance').value = 9.9;
  21. document.getElementById('pct_payout').value = 10;
  22. if (balance>old) {
  23. old = parseFloat(balance);
  24. }
  25. if (balance<(old-(x*20))) {
  26. nextbet = previousbet*2;
  27. x = nextbet;
  28. old = parseFloat(balance);
  29. }
  30. if (balance<olda) {
  31. olda = parseFloat(balance);
  32. }
  33. if (balance>(olda+(x*45))) {
  34. nextbet = previousbet*2;
  35. x = nextbet;
  36. olda = parseFloat(balance);
  37. }
  38. if (balance>(older+(bob*50))) {
  39. nextbet = bob;
  40. x = bob;
  41. old = parseFloat(balance);
  42. olda = parseFloat(balance);
  43. older = parseFloat(balance);
  44. }
  45. if (nextbet==null) {
  46. nextbet=previousbet;
  47. }
  48. if ((balance > target) || (nextbet>balance)){
  49. //stop();
  50. }
  51. var freak = ((balance-olderest).toFixed(8));
  52. console.log("balance made");
  53. console.log(freak);
  54. parseFloat(document.getElementById('pct_bet').value = (((nextbet*2)-nextbet).toFixed(8)));
  55. parseFloat(document.getElementById('pct_profit').value = (((nextbet*10)-nextbet).toFixed(8)));
  56. $('#a_lo').click();
  57. }
  58. setInterval(() => dobet(), 2000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement