dicekode

dicekode-edited-mancing

Nov 4th, 2020
498
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.24 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. min          = 5.5
  9. max          = 11.11
  10. chance1      = 83.5
  11. chance2      = math.random(min*100,max*100)/100
  12. multiplier   = 1.085
  13. multiplier2  = 1.1250
  14. chance       = chance1
  15. basebet      = 0.020
  16. target       = balance * 1.3
  17. nextbet      = basebet
  18. bethigh      = true
  19. counter      = 0
  20. wincount     = 0
  21. totalloss    = 0
  22. initbalance  = balance
  23.  
  24. function dobet()
  25.     counter += 1
  26.     print(" ")
  27.     print("Profit :"..string.format("%.8f",profit))
  28.     print(" ")
  29.     print("Bet Amount :"..string.format("%.8f",nextbet))
  30.     print("Current Balance : "..string.format("%.8f",balance))
  31.     print(" ")
  32.     if counter == 25 then
  33.         print(" ")
  34.         print("Profit :"..string.format("%.8f",profit))
  35.         print(" ")
  36.         print("Current Balance : "..string.format("%.8f",balance))
  37.         print(" ")
  38.         counter = 0
  39.     end
  40.     if balance > target then
  41.         stop()
  42.         print("=======================")
  43.         print("==== TARGET REACHED ====")
  44.         print("=======================")
  45.         print("Total Profit: "..string.format("%.8f",profit))
  46.     end    
  47.     if (((chance > min ) and chance < max) and win) then
  48.         initbalance = balance
  49.         totalloss   = 0
  50.     end
  51.     if win then
  52.         chance  = math.random(89*100,95*100)/100  
  53.         nextbet = basebet
  54.         wincount += 1
  55.         bethigh = true
  56.         if initbalance > balance then
  57.             totalloss = initbalance - balance  
  58.         end        
  59.         if wincount > 35 then
  60.             chance2  = math.random(min*100,max*100)/100  
  61.             chance   = chance2  
  62.             nextbet  = basebet/2  
  63.             bethigh  = false  
  64.             wincount = 0  
  65.         end  
  66.     else
  67.         wincount = 0
  68.         if (chance < min*1.24 ) then
  69.             nextbet = previousbet*multiplier
  70.         else
  71.             if (chance > min*1.24 ) then  
  72.                 nextbet = previousbet*multiplier2  
  73.             end
  74.         end
  75.     end
  76. end
Add Comment
Please, Sign In to add comment