Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --@ 80s/20s by Keiichi
- MINbet = 0.00000444 --@ minbet
- MAXbet = 0.00002222 --@ maxbet
- PhaseSwitch1 = 10 --@ switch to lowbetting after wins
- PhaseSwitch2 = 15 --@ switch to lowbetting after wins
- --@ target balance
- targetxx = 0.5
- -------------------------------
- base = MINbet
- nextbet = base
- losecount = 0
- betcount = 0
- wincount = 0
- startbalance = balance
- chance = 80.44
- MINmulti = 4
- MAXmulti = 7
- multi = 4
- betrand = base
- HighPhase = true
- bethigh = true
- PhaseSwitch = 6
- doublebet = 0
- -------------------------------
- --
- --
- -------------------------------
- function dobet()
- ------------------------------------
- if HighPhase then
- multi = math.random (MINmulti * 100.0, MAXmulti * 100.0) / 100.0
- else
- multi = 1.2744
- end
- ------------------------------------
- if win then
- if previousbet >= MAXbet * 50 then
- ching()
- end
- HighPhase = true
- losecount = 0
- wincount += 1
- betcount += 1
- betrand = math.random (MINbet * 100000000.0, MAXbet * 100000000.0) / 100000000.0
- doublebet = math.random (1,100)
- if doublebet <= 44 then
- nextbet = betrand
- print("\nNEXTBET IS RANDOMED")
- end
- if (doublebet > 44 and doublebet <=60) then
- nextbet = previousbet
- print("\nNEXTBET IS PREVIOUSBET")
- end
- if doublebet > 60 then
- nextbet = previousbet / 2
- print("\nNEXTBET IS PREVIOUSBET / 2")
- if nextbet < MINbet then
- nextbet = betrand
- print("\nNEXTBET IS RANDOMED")
- end
- end
- if nextbet >= MAXbet * 20 then
- nextbet = MAXbet * 2
- print("\nNEXTBET IS MAXbet * 2")
- end
- else
- wincount = 0
- losecount += 1
- betcount += 1
- if (losecount > 1 and multi > 5.5) then
- multi = 5.5
- end
- nextbet = previousbet * multi
- end
- ------------------------------------
- PhaseSwitch = math.random(PhaseSwitch1, PhaseSwitch2)
- if wincount >= PhaseSwitch then
- HighPhase = false
- end
- -------------------------------------
- if HighPhase then
- bethigh = true
- chance = 80.44
- else
- wincount = 0
- bethigh = false
- if losecount < 2 then
- nextbet = math.random (MINbet * 100000000.0, MAXbet * 60000000.0) / 100000000.0
- end
- if losecount <= 3 then
- chance = math.random(0.01*100.0, 20.44*100.0)/100.0
- end
- if losecount > 3 then
- chance = math.random(4.44*100.0, 20.44*100.0)/100.0
- end
- if losecount > 6 then
- chance = 20.44
- end
- end
- --------------------------------------
- -----------------------------------------------
- print("\n---------\n")
- print("\nNextbet " .. string.format("%3.8f", nextbet))
- print("\nChance = " .. chance .. "%")
- print("\nLoseStreak " .. losecount)
- print("\nWinStreak " .. wincount)
- print("\nMulti " .. multi)
- print("\nPhaseSwitch " .. PhaseSwitch)
- print("\nTarget Balance = " .. targetxx )
- print("% of Target Reached = " .. string.format("%3.1f",(balance / targetxx * 100)) .. "%")
- print("\nTotal Bets = " .. betcount)
- print("\n---------\n")
- -------------------------------------------
- -------------------------------
- if balance >= targetxx then
- print("\n---------\n")
- print("\nTarget Reached")
- print("\n---------\n")
- stop()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement