Advertisement
supersnowzy

snowy martin lua

Jan 30th, 2023
674
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | Cryptocurrency | 0 0
  1. oldbal = balance
  2. chance = 49.5
  3. basebet = balance/144000
  4. lost = 0;
  5. betslost = 1
  6. nextbet = basebet
  7. target = 100
  8. resetstats()
  9.  
  10. function dobet()
  11. if (win) then
  12.    lost = 0
  13.    betslost = 1
  14.    nextbet = basebet
  15.    oldbal = balance
  16. else
  17.    lost = (oldbal-balance)
  18.    bestlost = betslost+1
  19.    nextbet = (lost+(betslost*basebet))
  20. end
  21. if (balance>=target) then
  22. stop()
  23. end
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement