Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- io.write('++ input basebet ')
- local basebet = io.read("*n")
- io.write('++ input pause ifprofit % ')
- local ifpause = io.read("*n")
- io.write('++ input stop ifprofit % ')
- local ifprofit = io.read("*n")
- os.execute("cls")
- target = balance+(balance*(ifprofit/100))
- dopause = balance*(ifpause/100)
- chmin = 3
- chmax = 6
- chdiv = 5
- multi = 1.67
- modulus = 25
- betmx = 500
- profitc = 0
- stopwin = false
- nextbet = basebet
- chance = math.random(chmin,chmax)/chdiv
- function dobet()
- profitc = profitc + currentprofit
- chance = math.random(chmin,chmax)/chdiv
- if win then
- if profitc > dopause then
- pause()
- end
- if stopwin then stop() end
- nextbet = basebet
- profitc = 0
- else
- if math.abs(currentstreak)%modulus==0 then
- nextbet = previousbet*multi
- end
- end
- if balance > target then
- stop()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement