Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function s(x)
- return x / (10^8)
- end
- function r(x,y)
- return math.random(x,y)
- end
- set_maxbet = 0.01
- set_maxhit = 3
- chwin = {30,70}
- chloss = {25,35}
- target = balance * 1.5
- limit = balance * 0.5
- basebet = balance * s(5000)
- minbet = balance * s(1000)
- maxbet = balance * set_maxbet
- lastbalance = balance
- trailing = limit
- maxhit = 0
- maxlose = 88
- edge = 0.1
- use_chwin = true
- payout = 1
- lose = 0
- bethigh = true
- chance = 50
- nextbet = basebet
- payout = (100-edge)/chance
- stopwin = false
- resetstats()
- function dobet()
- if (balance >= lastbalance) then
- if stopwin then
- resetstats()
- stopwin = false
- maxhit = maxhit + 1
- basebet = basebet * 0.1
- if (maxhit == set_maxhit) then stop() end
- end
- maxbet = balance * set_maxbet
- use_chwin = true
- lose = 0
- lastbalance = balance
- chance = r(chwin[1]*100.00,chwin[2]*100.00)/100.00
- nextbet = basebet
- limit = trailing + profit
- else
- if (use_chwin == true) then
- lose = lose+1
- chance = r(chwin[1]*100.00,chwin[2]*100.00)/100.00
- nextbet = basebet
- if (lose >= maxlose) then use_chwin = false end
- else
- chance = r(chloss[1]*100.00,chloss[2]*100.00)/100.00
- payout = (100-edge)/chance
- nextbet = (lastbalance-balance+minbet)/(payout-1)
- if (nextbet<minbet) then nextbet = minbet end
- end
- end
- bethigh = r(0,2)==1
- if (balance >= target) then stop() end
- if (balance - nextbet < limit) then stop() end
- if (nextbet > maxbet) then stopwin = true end
- print("===================================")
- print("CUSTOM SERIES")
- print("===================================")
- print(">> MAXBET " .. maxbet)
- print(">> TARGET " .. target)
- print(">> STOPLOSE " .. limit)
- print(">> RESET " .. balance - lastbalance)
- print(">> BOOST " .. lose .. "/" .. maxlose)
- print(">> HIT " .. maxhit .. "/" .. set_maxhit)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement