Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function frandom(x,y)
- return math.random(x,y)
- end
- function fpayout(x,y)
- return x / ((99/y)-1)
- end
- function fcoin(x)
- return math.ceil(x*10^8)/10^8
- end
- function fsatoshi(x)
- return x/10^8
- end
- betlose = 0
- bethigh = false
- basebet = 0.01
- nextbet = basebet
- chance = 90
- profitc = 0
- resetstats()
- function dobet()
- betlose += previousbet
- profitc += currentprofit
- if profitc > 0 then
- profitc = 0
- betlose = 0
- end
- if (currentstreak < -1) then
- chance = frandom(2,15)
- nextbet = fpayout(betlose,chance)
- else
- chance = 90
- nextbet = basebet
- end
- nextbet = fcoin(nextbet)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement