dicekode

dicebot-lowchance

Nov 2nd, 2020
458
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.32 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. basebet    = balance * 0.0000001
  9. chmin      = 5
  10. chmax      = 9
  11. switchwin  = 3
  12. switchlose = 2
  13. ifwin      = 1
  14. iflose     = 1.2
  15. resetwin   = 1
  16. profitmax  = balance * 1.3
  17. maxloss    = 60
  18. countwin   = 0
  19. countlose  = 0
  20. justwin    = 0
  21. nextbet    = basebet
  22. stopwin    = false
  23. chance     = 49.5
  24.  
  25. function dobet()
  26.    
  27.     if (countwin == switchwin) then
  28.         bethigh = !bethigh
  29.         countwin = 0
  30.     end
  31.  
  32.     if (countlose == switchlose) then
  33.         bethigh = !bethigh
  34.         countlose = 0
  35.     end
  36.  
  37.     chance = math.random(chmin * 100,chmax * 100)/100
  38.  
  39.     if (win) then
  40.         if stopwin then stop() end
  41.         countwin += 1
  42.         justwin += 1
  43.         if (justwin == resetwin) then
  44.             nextbet = basebet
  45.         else
  46.             nextbet = previousbet * ifwin
  47.         end
  48.     else
  49.         countlose +=1
  50.         justwin = 0
  51.         nextbet = previousbet * iflose
  52.     end
  53.  
  54.     if (profit > profitmax) then stop() end
  55.     if (currentstreak < -maxloss) then stopwin = true end
  56.    
  57. end
Add Comment
Please, Sign In to add comment