Advertisement
coinwalk

need randomise a lot snowybot

Jul 13th, 2022
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.91 KB | None | 0 0
  1. var belance = document.getElementById('pct_balance').value;
  2. document.getElementById('pct_chance').value = 49.5;
  3. document.getElementById('pct_payout').value = 2;
  4. var bob = ((belance/100).toFixed(8))
  5. var cript = bob;
  6. var joe = false;
  7. var target = (belance*1.01);
  8. var god = (bob*2.5);
  9. var sin = 6;
  10. var olderest = document.getElementById('pct_balance').value
  11. var balancez = parseFloat(document.getElementById('pct_balance').value);
  12. var have = parseFloat(document.getElementById('pct_balance').value);
  13. var ian = parseFloat(document.getElementById('pct_balance').value);
  14. var mybet;
  15. var bust = parseFloat(document.getElementById('pct_balance').value);
  16. var wild = document.getElementById('pct_balance').value;
  17. var min = document.getElementById('pct_balance').value;
  18. parseFloat(document.getElementById('pct_bet').value = bob);
  19. parseFloat(document.getElementById('pct_profit').value = bob);
  20.  
  21. function getR(minz, maxz) {
  22. minz = Math.ceil(minz);
  23. maxz = Math.floor(maxz);
  24. return Math.floor(Math.random() * (maxz - minz + 1)) + minz;
  25. }
  26.  
  27. function dobet(){
  28. console.clear()
  29. var balancey = document.getElementById('pct_balance').value;
  30. balancez = document.getElementById('pct_balance').value;
  31. var stuit = document.getElementById('pct_bet').value;
  32. document.getElementById('pct_chance').value = 49.5;
  33. document.getElementById('pct_payout').value = 2;
  34. if (mybet==null){
  35. mybet = stuit;
  36. }
  37. if (balancez>=(have+(cript*6.9))) {
  38. cript = (cript*2);
  39. mybet = cript;
  40. god = (cript*4.9);
  41. joe = false;
  42. have = parseFloat(balancez);
  43. }
  44. if (balancez<=(have-god)) {
  45. cript = (cript*2);
  46. mybet = cript;
  47. god = (cript*4.9);
  48. joe = true;
  49. have = parseFloat(balancez);
  50. }
  51. if ((balancez-ian)>(bob*10)) {
  52. mybet = bob;
  53. cript = bob;
  54. god = (bob*2.5);
  55. joe = false;
  56. ian = ian+((Math.floor((balancez-ian)/(bob*10)).toPrecision(1))*(bob*10));
  57. have = ian;
  58. }
  59. if ((joe==true)&&(balancez>=ian)&&((balancez-ian)<(bob*10))) {
  60. mybet = bob;
  61. cript = bob;
  62. god = (bob*2.5);
  63. have = ian;
  64. ian = ian;
  65. joe = false;
  66. }
  67. if (balancez>=target) {
  68. bob = (((parseFloat(balancez))/100).toFixed(8))
  69. cript = bob;
  70. mybet = bob;
  71. joe = false;
  72. god = (bob*2.5);
  73. var have = parseFloat(balancez);
  74. var ian = parseFloat(balancez);
  75. target = ((parseFloat(balancez))*1.01);
  76. }
  77. if (balancez>wild) {
  78. wild = parseFloat(balancez);
  79. }
  80. if (balancez<min) {
  81. min = parseFloat(balancez);
  82. }
  83. balancez = document.getElementById('pct_balance').value;
  84. var freak = ((balancez-olderest).toFixed(8));
  85. console.log("balance made");
  86. console.log(freak);
  87. console.log("biggest balance");
  88. console.log(parseFloat(wild));
  89. console.log("lowest balance");
  90. console.log(parseFloat(min));
  91. parseFloat(document.getElementById('pct_bet').value = (((mybet*2)-mybet).toFixed(8)));
  92. parseFloat(document.getElementById('pct_profit').value = (((mybet*2)-mybet).toFixed(8)));
  93. $('#a_lo').click();
  94. }
  95. setInterval(() => dobet(), 80);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement