Advertisement
coinwalk

fixed the glitch

Mar 12th, 2021
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. fraction = 50000
  2. basebet = balance/fraction
  3. base = basebet
  4. chance = 90
  5. nextbet = basebet
  6. bethigh = false
  7. oldbal = balance
  8. target = 500
  9. sux = 0
  10. wage = 0
  11. bim = 0
  12. resetstats()
  13.  
  14.  
  15. function dobet()
  16. wage = wage+previousbet
  17. if (!win) and (chance==90) then
  18. nextbet = ((wage*9.5)+basebet)
  19. bim+=1
  20. end
  21. if (win) and (chance==90) then
  22. bim = 0
  23. end
  24. if bim>=2 then
  25. bethigh = !bethigh
  26. chance = 24
  27. bim = 0
  28. end
  29. if (!win) and (chance==24) then
  30. nextbet = ((wage/3)+basebet)
  31. sux = sux+1
  32. end
  33. if (win) and (chance==24) then
  34. sux = 0
  35. bethigh = !bethigh
  36. chance = 90
  37. end
  38. if (sux>=3) then
  39. nextbet = wage*12
  40. bethigh = !bethigh
  41. chance = 90
  42. bim = 0
  43. sux = 0
  44. end
  45. if (balance>=oldbal) then
  46. nextbet = basebet
  47. sux = 0
  48. wage = 0
  49. oldbal = balance
  50. end
  51. if (balance>=target) then
  52. stop()
  53. end
  54. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement