0% found this document useful (0 votes)
32 views2 pages

DiceScript1689467134672 Lua

The document defines variables for a betting algorithm, including an initial bet amount, profit target, and chance of winning. It then describes a function that increases the next bet by a multiplying factor if the previous bet was lost, and resets the bet if it was won, in order to reach a profit target or stop if chances become very low. The bet increases more sharply as the chance of winning decreases.

Uploaded by

Ajah Masjun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views2 pages

DiceScript1689467134672 Lua

The document defines variables for a betting algorithm, including an initial bet amount, profit target, and chance of winning. It then describes a function that increases the next bet by a multiplying factor if the previous bet was lost, and resets the bet if it was won, in order to reach a profit target or stop if chances become very low. The bet increases more sharply as the chance of winning decreases.

Uploaded by

Ajah Masjun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

bet = balance / 1290

nextbet = bet
chance = 8
profittarget = 1
amount = 250
bethigh = false

function dobet()

if (wagered) >= profittarget


then
stop();
end

if win
then
--resetstats()

nextbet = bet
chance = 8
else
nextbet = previousbet * 1.11236
chance += .25
end
if chance > 12
then
nextbet = previousbet * 1.222223
end
if chance > 18
then
nextbet = previousbet * 1.32
end
if chance > 24
then
nextbet = previousbet * 1.434783
end
if chance > 30
then
nextbet = previousbet * 1.571429
end
if chance > 36
then
nextbet = previousbet * 1.736843
end
if chance > 42
then
nextbet = previousbet * 1.941177
end
if chance > 48
then
nextbet = previousbet * 2.200001
end
if chance > 54
then
nextbet = previousbet * 2.538462
end
if chance > 60
then
nextbet = previousbet * 3
end
if chance > 66
then
nextbet = previousbet * 3.666667
end
if chance > 72
then
nextbet = previousbet * 4.125
end
if( balance >= profittarget) then
stop()
end
end

You might also like