Advertisement
coinwalk

snowybot lua

May 7th, 2024
951
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. betbse        = (balance/1000)
  2. bethigh       = false
  3. chance        = 49.5
  4. nextbet       = betbse
  5. original      = balance
  6. tens          = (betbse*10)
  7. seventy       = (betbse*70)
  8. twohundreds   = (betbse*50)
  9. sevens        = (betbse*6.9)
  10. eights        = (betbse*7.9)
  11. setasseven    = 0
  12. chickendinner = (balance*24000)
  13. balance       = balance
  14. goodoldbal    = ((math.floor(balance/tens))*tens)
  15. badoldbal     = ((math.floor(balance/tens))*tens)
  16. setsoftens    = 4
  17. resetstats()
  18.  
  19. function dobet()      
  20. if ((balance>(((math.floor(balance/tens))*tens)+sevens)) and (balance<(((math.floor(balance/tens))*tens)+eights)) and (not (balance==setasseven))) then
  21.     nextbet    = previousbet*2
  22.     setasseven = balance
  23. end
  24. if (((balance-(nextbet*2))<=(nextbet*24)) and (balance<(((math.floor(balance/tens))*tens)+sevens))) then
  25.     nextbet    = betbse
  26.     setasseven = 0
  27. end
  28. if (((balance-(nextbet*2))<=(nextbet*24)) and (balance>(((math.floor(balance/tens))*tens)+eights))) then
  29.     nextbet    = betbse
  30.     setasseven = 0
  31. end
  32. if (((balance-(nextbet*2))<=(nextbet*24)) and (balance>(((math.floor(balance/tens))*tens)+sevens)) and (balance<(((math.floor(balance/tens))*tens)+eights))) then
  33.     nextbet    = betbse*2
  34.     setasseven = balance
  35. end
  36. if (nextbet==null) then
  37.     nextbet = previousbet
  38. end
  39. if (balance>=chickendinner) then
  40. print("winner winner chicken dinner")
  41. stop()
  42. end
  43. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement