Advertisement
coinwalk

fp

Apr 21st, 2022
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. var belance = parseFloat(document.getElementById('balance').innerHTML);
  2. document.getElementsByClassName('form-control in-bet').winning_chance_manual.value = 47.5;
  3. document.getElementsByClassName('form-control in-bet').payout_manual.value =2;
  4. var bob = 0.00001;
  5. var cript = bob;
  6. var god = (bob*2);
  7. var joe = false;
  8. var target = 0.0003;
  9. var snow = 6;
  10. target = 50000;
  11. var myseed;
  12. var mybet;
  13. var ian = parseFloat(document.getElementById('balance').innerHTML);
  14. var balancez = parseFloat(document.getElementById('balance').innerHTML);
  15. var have = parseFloat(document.getElementById('balance').innerHTML);
  16. parseFloat(document.getElementById("bet_amt").value = bob);
  17. Dice_CalculateAmounts(1);
  18. Dice_CalculateAmounts(6);
  19.  
  20. Math.fmod = function(a,b) { return Number((a - (Math.floor(a / b) * b)).toPrecision(8)); }
  21.  
  22. function getR(min, max) {
  23. min = Math.ceil(min);
  24. max = Math.floor(max);
  25. return Math.floor(Math.random() * (max - min + 1)) + min;
  26. }
  27. function makeid(length) {
  28. var result = '';
  29. var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
  30. var charactersLength = characters.length;
  31. for ( var i = 0; i < length; i++ ) {
  32. result += characters.charAt(Math.floor(Math.random() *
  33. charactersLength));
  34. }
  35. return result;
  36. }
  37.  
  38. function dobet(){
  39. console.clear();
  40. var balancey = document.getElementById('balance').innerHTML;
  41. balancez = document.getElementById('balance').innerHTML;
  42. var stuit = document.getElementsByClassName('form-control in-bet').bet_amount.value;
  43. document.getElementsByClassName('form-control in-bet').winning_chance_manual.value = 47.5;
  44. document.getElementsByClassName('form-control in-bet').payout_manual.value = 2;
  45. if (mybet==null) {
  46. mybet = stuit;
  47. }
  48. if (balancez<(have-god)) {
  49. mybet = stuit*2;
  50. cript = (stuit*2);
  51. god = (stuit*5);
  52. have = parseFloat(balancez);
  53. snow = 6;
  54. joe = true;
  55. }
  56. if (balancez>(have+(cript*snow))) {
  57. mybet = stuit*2;
  58. cript = (stuit*2);
  59. god = (stuit*5);
  60. snow = 5;
  61. have = parseFloat(balancez);
  62. }
  63. var jim = (Math.floor((balancez-ian)/(bob*10)).toPrecision(1));
  64. if ((jim==0)&&(joe==true)&&((balancez-ian)>=0)){
  65. mybet = bob;
  66. cript = bob;
  67. god = (bob*2);
  68. ian = parseFloat(ian);
  69. have = parseFloat(ian);
  70. snow = 6;
  71. joe = false;
  72. }
  73. if (jim==1) {
  74. mybet = bob;
  75. cript = bob;
  76. god = (bob*2);
  77. ian = ian+((jim)*(bob*10));
  78. have = parseFloat(ian);
  79. snow = 6;
  80. joe = false;
  81. }
  82. if (jim>1) {
  83. mybet = bob;
  84. cript = bob;
  85. god = (bob*2);
  86. ian = ian+((jim)*(bob*10));
  87. have = parseFloat(ian);
  88. snow = 5;
  89. joe = false;
  90. }
  91. if (balance>=target) {
  92. //stop();
  93. return;
  94. }
  95. var xol = getR(1,3);
  96. if (xol==1) {
  97. myseed = (makeid(8));
  98. }
  99. if (xol==2) {
  100. myseed = (makeid(12));
  101. }
  102. if (xol==3) {
  103. myseed = (makeid(17));
  104. }
  105. document.getElementsByClassName("form-control").client_seed.value= myseed;
  106. document.getElementById("bet_amt").value = mybet;
  107. Dice_CalculateAmounts(1);
  108. Dice_CalculateAmounts(6);
  109. Roll_HiLo_Dice(2);
  110. }
  111. setInterval(() => dobet(), (getR(12,24)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement