Advertisement
coinwalk

crazy

Oct 21st, 2019
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. chance = 24.975
  2. nextbet = balance/2000000
  3. prebet = balance/2000000
  4. betcount = 0
  5. losscount = 0
  6. bethigh = false
  7. function dobet()
  8. if win then
  9. if (bethigh ==true) then bethigh=false else bethigh=true end
  10. betcount +=1
  11. else
  12. losscount +=1
  13. end
  14. if (betcount == 1) then
  15. chance = 24.975
  16. nextbet = previousbet*2
  17. end
  18. if (betcount == 2) then
  19. chance = 49.95
  20. nextbet = balance/2000000
  21. betcount = 0
  22. losscount = 0
  23. end
  24. if math.fmod(losscount,2)==1 and (losscount >= 4) then
  25. nextbet = previousbet*3
  26. end
  27. if balance > 100000 then
  28. stop()
  29. end
  30. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement