Advertisement
coinwalk

js just-dice snowy

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