Advertisement
coinwalk

lua

May 22nd, 2023
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. basebet = 0.000001
  2. james = basebet
  3. boom = 1
  4. oldDigit = 0
  5. crazy = ((math.floor(balance / ten)) * ten)
  6. adjustedValue = basebet
  7. decimalPart = tostring(adjustedValue):match("%.(%d+)") or ""
  8. highestDigit = math.max(table.unpack(decimalPart:split(""):map(tonumber)))
  9. mole = decimalPart:find(tostring(highestDigit)) + 1
  10. mad = mole()
  11.  
  12. function xig()
  13. balanceDecimalIndex = balance:find("%.")
  14. if ((balance:sub(balanceDecimalIndex + mad, balanceDecimalIndex + mad) == "7") and (not(balance==oldDigit)) and (balance < crazy)) then
  15. james = james * 2
  16. boom = 0
  17. oldDigit = balance
  18. end
  19. if ((balance:sub(balanceDecimalIndex + mad, balanceDecimalIndex + mad) == "7") and (not(balance==oldDigit)) and (balance >= crazy)) then
  20. james = james * 2
  21. oldDigit = balance
  22. end
  23. if ((not(balance:sub(balanceDecimalIndex + mad, balanceDecimalIndex + mad) == "7")) and (balance >= (crazy + (ten * boom)))) then
  24. james = basebet
  25. boom = 1
  26. oldDigit = 0
  27. crazy = ((math.floor(balance / ten)) * ten)
  28. end
  29. if ((balance:sub(balanceDecimalIndex + mad, balanceDecimalIndex + mad) == "7") and (balance >= (crazy + (ten * boom)))) then
  30. james = basebet * 2
  31. boom = 1
  32. oldDigit = balance
  33. crazy = ((math.floor(balance / ten)) * ten)
  34. end
  35. return james
  36. end
  37.  
  38. function dobet()
  39. chance = 49.5
  40. bethigh = false
  41. nextbet = xig()
  42. end
  43.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement