Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- betch = {20,25,100}
- basediv = 1e-7
- iflose = 1.6
- ifwin = 1.1
- maxdrop = 5
- basebet = balance*basediv
- tgsesi = basebet*0
- target = balance*1.5
- upbet = false
- bethigh = false
- stopwin = false
- nowdrop = 0
- chance = math.random(betch[1]*betch[3],betch[2]*betch[3] )/betch[3]
- nextbet = basebet
- resetseed()
- resetstats()
- function dobet()
- chance = math.random(betch[1]*betch[3],betch[2]*betch[3] )/betch[3]
- if balance > target then stop() end
- if partialprofit > tgsesi then
- resetpartialprofit()
- if stopwin then stop() end
- if upbet then
- basebet = balance*basediv
- end
- nextbet = basebet
- else
- if win then
- nextbet = previousbet*ifwin
- else
- nextbet = previousbet*iflose
- end
- end
- if nextbet < basebet then
- nextbet = basebet
- end
- if partialprofit < nowdrop then
- nowdrop = partialprofit
- end
- if math.abs(nowdrop)/balance*100 > maxdrop then
- stopwin = true
- end
- print("\n░▒▓- Dropped "..string.format("%.8f",math.abs(nowdrop)).." [ "..string.format("%.2f",math.abs(nowdrop)/balance*100).."% ]")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement