Advertisement
coinwalk

snowybot lua

May 6th, 2024
719
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))<=(balance/240)) and (balance<(((math.floor(balance/tens))*tens)+sevens))) then
  25.     nextbet    = betbse
  26.     setasseven = 0
  27. end
  28. if (((balance-(nextbet*2))<=(balance/240)) and (balance>(((math.floor(balance/tens))*tens)+eights))) then
  29.     nextbet    = betbse
  30.     setasseven = 0
  31. end
  32. if (((balance-(nextbet*4))<=(balance/240)) 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 (((balance-(nextbet*2))<=(original/240)) and (balance<(((math.floor(balance/tens))*tens)+sevens))) then
  37.     nextbet    = betbse
  38.     setasseven = 0
  39. end
  40. if (((balance-(nextbet*2))<=(original/240)) and (balance>(((math.floor(balance/tens))*tens)+eights))) then
  41.     nextbet    = betbse
  42.     setasseven = 0
  43. end
  44. if (((balance-(nextbet*4))<=(original/240)) and (balance>(((math.floor(balance/tens))*tens)+sevens)) and (balance<(((math.floor(balance/tens))*tens)+eights))) then
  45.     nextbet    = betbse*2
  46.     setasseven = balance
  47. end
  48. if (nextbet==null) then
  49.     nextbet = previousbet
  50. end
  51. if (balance>=chickendinner) then
  52. print("winner winner chicken dinner")
  53. stop()
  54. end
  55. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement