dicekode

dicekode-edited-bex

Nov 4th, 2020
395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.51 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. resetstats()
  9. startbalance = balance
  10. m1           = 1.1
  11. m2           = 1.65
  12. roundprofit  = 0
  13. n            = 0.0000025
  14. base         = n
  15. nextbet      = base
  16. chance1      = math.random(5,9)
  17. chance2      = math.random(19,20)
  18. l            = 0
  19. stop_profit  = 100.01
  20. bethigh      = true
  21. chance       = chance1
  22. function dobet()
  23.  
  24.     if balance > stop_profit then
  25.         stop()
  26.     end
  27.     l += 1
  28.     r       = math.random(100)
  29.     chance1 = math.random(5,9)
  30.     chance2 = math.random(19,20)
  31.    
  32.     if win then  
  33.         l       = 0
  34.         s       = 0
  35.         base    = n
  36.         nextbet = base
  37.         chance  = chance1
  38.         bethigh = !bethigh
  39.     end
  40.  
  41.     if (l == 0) then
  42.         chance  = chance1
  43.         base    = n  
  44.         nextbet = base  
  45.     else  
  46.         nextbet = previousbet * m1
  47.         chance  = chance1
  48.     end
  49.      
  50.     if (l == 20) then
  51.         nextbet = previousbet * m2
  52.         chance  = chance2
  53.     end
  54.  
  55.     if (l > 20) then
  56.         chance2 = math.random(19,20)
  57.         chance  = chance2
  58.         nextbet = previousbet * m2
  59.         if (r > 50) then
  60.             bethigh = true
  61.         else
  62.             bethigh = false
  63.         end
  64.     end
  65. end
  66.  
Add Comment
Please, Sign In to add comment