Advertisement
dicekode

04-09-2024--003

Apr 9th, 2024
482
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.34 KB | Cryptocurrency | 0 0
  1. basebet = 0.000005*balance
  2. nextbet = basebet
  3. chance  = 89
  4. target  = 50
  5. ctwin   = 0
  6. stopwin = false
  7.  
  8. function dobet()
  9.     function calcubet()
  10.         croll = 0
  11.         cnext = basebet
  12.         while cnext < balance do
  13.             croll = croll+1
  14.             cnext = cnext+(cnext*(55/100))
  15.             if croll%8==0 then
  16.                 cnext = cnext-(cnext*(14/100))
  17.             end
  18.         end
  19.         limite = croll-6
  20.         print("\nMax Roll : "..croll.."/"..limite)
  21.     end
  22.     if win then
  23.         calcubet()
  24.         if stopwin then stop() end
  25.         ctwin   = ctwin+1
  26.         chance  = 89
  27.         nextbet = previousbet*0.8
  28.         if nextbet<basebet then
  29.             nextbet = basebet
  30.         end
  31.         if (ctwin==20) then
  32.             ctwin  = 0
  33.             chance = 20
  34.         end
  35.     else
  36.         if chance<50 then
  37.             nextbet = nextbet+(nextbet*(55/100))
  38.             chance  = chance+(chance*(1.5/100))
  39.             if math.abs(currentstreak)%8==0 then
  40.                 nextbet = nextbet-(nextbet*(14/100))
  41.                 chance  = chance-(chance*(11/100))
  42.             end
  43.         else
  44.             nextbet = nextbet+(nextbet*(10/100))
  45.         end
  46.     end
  47.     if balance>target then stop() end
  48.     if bets > 0 then
  49.         if currentstreak < -limite then
  50.             stopwin = true
  51.         end
  52.     end
  53. end
  54.  
  55.  
Tags: Dicebot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement