Advertisement
coinwalk

justdice javascript snowy bot

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