dicekode

dicekode-2streakwin

Nov 5th, 2020 (edited)
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.27 KB | None | 0 0
  1. -- edited by DICEKODE
  2. -- youtube: https://www.youtube.com/channel/UC-BpueviNmn12aV_pBRY3gQ
  3. -- blog: https://dicekode.blogspot.com
  4. -- whatsapp: https://chat.whatsapp.com/Faes925uLw9HkhZeFHchFf
  5. -- linkdonasi: berikan pada yang "berhak"
  6. -- This is GAMBLING! -- DWYOR (Do With Your Own Risk)
  7.  
  8.  
  9. chance  = 49
  10. basebet = 0.00010
  11. maxbet  = 10.0000
  12. maxbal  = balance * 1.1
  13. minbal  = balance * 0.9
  14. resets  = basebet * 10
  15. profits = 0
  16. sesi    = 0
  17. hibet   = 0
  18. stopwin = false
  19. nextbet = basebet
  20.  
  21. function dobet()
  22.  
  23.     profits += currentprofit
  24.  
  25.     if profit > resets then
  26.         if stopwin then stop() end
  27.         sesi += 1
  28.         resetstats()
  29.     end
  30.    
  31.     if !win then  
  32.         nextbet = basebet  
  33.     end  
  34.  
  35.     if (currentstreak == 1) then
  36.         nextbet = math.abs(profit)+(basebet*2)
  37.     end
  38.    
  39.     if (nextbet > hibet) then
  40.         hibet = nextbet
  41.     end
  42.    
  43.     if (nextbet > maxbet) then
  44.         nextbet = basebet
  45.         resetstats()
  46.     end
  47.    
  48.     if (nextbet < 0) then nextbet = basebet end
  49.     if (balance > maxbal) then stop() end
  50.     if (balance - nextbet < minbal) then stop() end
  51.    
  52.     print("\n\n")
  53.     print("target "..maxbal)
  54.     print("highest bet "..hibet)
  55.     print("profit "..profits)
  56.     print("sesi "..sesi)
  57. end
Add Comment
Please, Sign In to add comment