Advertisement
coinwalk

phase 3 just-dice bot

Sep 30th, 2021
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. var fraction=50000;
  2. var longer=document.getElementById('pct_balance').value;
  3. var b=(longer/fraction).toFixed(8);
  4. var target = 64000
  5. document.getElementById('pct_bet').value = (b);
  6. document.getElementById('pct_profit').value = (b);
  7. var old = document.getElementById('pct_balance').value;
  8. var older = document.getElementById('pct_balance').value;
  9. var bob = 10000000
  10. var x = bob
  11. var v = bob
  12. var win;
  13. var nextbet;
  14.  
  15. function bet(){
  16. $('#a_hi').click();
  17. setTimeout('', 3000); }
  18.  
  19. function dobet(){
  20. var balance=document.getElementById('pct_balance').value;
  21. var previousbet = document.getElementById('pct_bet').value;
  22. document.getElementById('pct_chance').value = 49.5;
  23. if (balance>older) {
  24. win=true;
  25. older=parseFloat(balance);
  26. }else if (balance<older) {
  27. win=false;
  28. older=parseFloat(balance);
  29. }
  30. if (win==true) {
  31. v = v+1;
  32. }else{
  33. v = v-1;
  34. }
  35. if ((v<=(x-4)) | (v>=(x+7))) {
  36. nextbet = previousbet*2;
  37. x = v;
  38. }
  39. if (balance>=(old+(b*10))) {
  40. nextbet = b;
  41. v = bob;
  42. x = bob;
  43. old = parseFloat(balance);
  44. }
  45. if (nextbet==null) {
  46. nextbet=previousbet;
  47. }
  48. if (balance > target) {
  49. //stop();
  50. $('#notification').html('Relax & Reload');
  51. alert('Relax & Reload');
  52. console.log('Relax & Reload');
  53. return;
  54. }
  55. document.getElementById('pct_bet').value = (nextbet);
  56. document.getElementById('pct_profit').value = (nextbet);
  57. bet();
  58. }
  59. setInterval(() => dobet(), 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement