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")
- ifreset = basebet*10
- dopause = balance*(ifpause/100)
- target = balance+(balance*(ifprofit/100))
- nextbet = basebet
- chance = 90
- profitc = 0
- function dobet()
- profitc = profitc + currentprofit
- if profitc > ifreset then
- if profitc > dopause then
- pause()
- end
- profitc = 0
- nextbet = basebet
- else
- if win then
- nextbet = previousbet * 1.04
- else
- nextbet = previousbet * 1.50
- end
- end
- chance = math.random(90,500)/10
- if balance > target then stop() end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement