coinwalk

snowybots compleded in lua

Aug 23rd, 2023
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. base            = (((((((balance/2)/2)/2)/2)/2)/2)/10)
  2. floatingbasebet = base
  3. target          = 1000
  4. tens            = (base*10)
  5. sevens          = (base*6.9)
  6. eights          = (base*7.9)
  7. oldbalance      = ((math.floor(balance/tens))*tens)
  8. bogus           = balance
  9. chance          = 49.5
  10. bethigh         = false
  11. oldDegen        = 0
  12. multi           = 4
  13. unit            = 20
  14. nextbet         = floatingbasebet
  15. resetstats()
  16.  
  17.  
  18.  
  19. function dobet()
  20. if ((balance>(((math.floor(balance/tens))*tens)+sevens)) and (balance<(((math.floor(balance/tens))*tens)+eights)) and (balance>oldbalance) and (not (balance==oldDegen))) then
  21.     floatingbasebet = floatingbasebet*2
  22.     oldDegen        = balance
  23. end
  24. if ((balance>(((math.floor(balance/tens))*tens)+sevens)) and (balance<(((math.floor(balance/tens))*tens)+eights)) and (balance<oldbalance) and (not (balance==oldDegen))) then
  25.     floatingbasebet = floatingbasebet*2
  26.     oldDegen        = balance
  27. end
  28. if (((balance-(floatingbasebet*40))<=0) or ((floatingbasebet*10)>=bogus)) then
  29.     floatingbasebet = base    
  30.     multi           = 0
  31.     oldDegen        = 0
  32. end
  33. nextbet = floatingbasebet
  34. if (balance>=target) then
  35.     stop()
  36. end
  37. end
Add Comment
Please, Sign In to add comment