dicekode

dicekode-highlowchance

Nov 6th, 2020 (edited)
401
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.14 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. chance      = math.random(8000,8500)/100  
  9. bigchance   = math.random(7500,8500)/100
  10. smallchance = 100 - bigchance
  11. base        = (balance / 1000) * 0.001
  12. bethigh     = false
  13. target      = balance * 1.2
  14. go          = true
  15. wincount    = 0
  16. losecount   = 0
  17. i           = balance
  18. k           = 900
  19. nextbet     = base
  20. a           = base
  21. multi       = 1.3
  22. maxstreak   = -10
  23. stopwin     = false
  24.  
  25. function dobet()
  26.  
  27.     if currentstreak <= maxstreak then
  28.         stopwin = true  
  29.     end
  30.    
  31.     if balance > target then stop()end
  32.    
  33.     if (wincount == 6) then
  34.         resetseed()  
  35.         bethigh  = !bethigh
  36.         wincount = 0
  37.     end
  38.    
  39.     if win and go then
  40.         if stopwin then stop() end
  41.         wincount+=1
  42.         nextbet   = base
  43.         bigchance = math.random(7500,8500)/100
  44.         chance    = bigchance
  45.         losecount = 0
  46.         a         = base
  47.         multi     = 1
  48.         go        = false
  49.     end
  50.  
  51.     if (!win) then  
  52.         nextbet = previousbet*multi
  53.         losecount+=1    
  54.     end
  55.  
  56.     if chance >= 75 and (!win) then  
  57.         bethigh     = !bethigh
  58.         smallchance = 110 - bigchance
  59.         if smallchance < 30 then
  60.             multi = 1.43568
  61.         end
  62.         if smallchance >= 30 then
  63.             multi = 1.6365
  64.         end
  65.         go      = true
  66.         chance  = smallchance
  67.         nextbet = a * multi
  68.     end
  69.    
  70.     if losecount >= 1 then
  71.         go     = true
  72.         chance = smallchance
  73.     end
  74.    
  75.     if (losecount == 5) then
  76.         losecount = 0
  77.         go        = false
  78.         a         = previousbet
  79.         nextbet   = base
  80.         chance    = bigchance
  81.     end
  82.    
  83.     print(" ")
  84.     print("multi: "..multi)
  85.     print("bigchance: "..bigchance)
  86.     print("smallchance: "..smallchance)
  87.     print(" ")
  88.  
  89. end
Add Comment
Please, Sign In to add comment