dicekode

dicekode-fishing-type33

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