Professional Documents
Culture Documents
function GetPayout(whatchance)
payoutamt = 99 / whatchance
return payoutamt
end
return chance
end
function GetRandom()
r = math.random(2)
if r == 1 then
bethigh = true
else
bethigh = false
end
end
initialmulti = 1
multistep = 0.001
losstotal = 0
stoponwin = false
resetseed()
GetRandom()
nextbet = siteminimum
chance = GetNextChance(balance, siteminimum)
nextstep = (maximumchance - chance) / stepstomax
maxdrawdown = balance * (maximumloss / 100)
function dobet()
if (balance > siteminimum) then
if (chance >= 99) then
nextbet = siteminimum
chance = GetNextChance(balance, siteminimum)
nextstep = (maximumchance - chance) / stepstomax
maxdrawdown = balance * (maximumloss / 100)
if (win) then
if (balance > targetprofit) then
ching()
print("Target Achieved!")
ching()
stop()
end
if (stoponwin) then
stop()
end
resetseed()
print(balance)
if (bethigh) then
bethigh = false
else
bethigh = true
end
nextbet = siteminimum
chance = GetNextChance(balance, siteminimum)
nextstep = (maximumchance - chance) / stepstomax
maxdrawdown = balance * (maximumloss / 100)
losstotal = 0
losstotal = 0