dicekode

dicekode-fast-flatter

Oct 31st, 2020 (edited)
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.95 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(20,30)
  9. bigc      = math.random(70,80)
  10. smallc    = 100 - bigc
  11. base      = balance / 10000
  12. bethigh   = false
  13. roll      = 0
  14. losecount = 0
  15. wincount  = 0
  16. nextbet   = base
  17. target    = balance + (base * 2.5)
  18. bigtarget = balance * 1.25
  19. roll      = 0
  20.  
  21. a = math.random(1,2)
  22.  
  23. function dobet()
  24.     roll+=1
  25.     if balance > bigtarget then stop() end
  26.     bethigh = !bethigh
  27.  
  28.     if smallc >= 28 then
  29.         multi = 1.082
  30.     end
  31.     if smallc < 28 and smallc >= 26 then
  32.         multi = 1.078
  33.     end
  34.     if smallc <26 and smallc >= 24 then
  35.         multi = 1.073
  36.     end
  37.     if smallc < 24 and smallc >= 22 then
  38.         multi = 1.062
  39.     end
  40.     if smallc < 22 then
  41.         multi = 1.058
  42.     end
  43.     if roll>=50 then  
  44.         resetseed()  
  45.         print(" ")  
  46.         print("target: "..target)  
  47.         print("nextbet: "..nextbet)  
  48.         print("chance: "..chance)  
  49.         print("Profit to go: "..target - balance)  
  50.         print(" ")
  51.     end  
  52.     if win and chance < 30 then
  53.         nextbet = previousbet/1
  54.     else
  55.         nextbet = previousbet*multi
  56.     end
  57.     if (roll == 1) then
  58.         chance = smallc
  59.     end
  60.     if (roll == 2) then
  61.         chance = bigc
  62.         roll   = 0
  63.     end
  64.     if !win then
  65.         nextbet = previousbet*multi
  66.     end
  67.     if balance > target then  
  68.         nextbet = base  
  69.         resetseed()  
  70.         target = balance + (base * 2.5)
  71.         bigc   = math.random(70,80)
  72.         smallc = math.random(20,30)
  73.         chance = smallc
  74.     end
  75.     print(" ")
  76.     print("target: "..target)
  77.     print("multi: "..multi)
  78.     print(" ")
  79. end
  80.  
  81.  
Add Comment
Please, Sign In to add comment