dicekode

dicekode-fishing-dualchance

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