Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Ascension Script
- -- At any time you can type stoponwin=true in the
- -- console to halt the script after the next win
- -- siteminimum: Set the minimum bet for the site you play on
- siteminimum = balance/100000
- -- targetprofit: Set your target balance
- targetprofit = 400.00260000
- -- balancegain: percentage of balance to gain on win
- balancegain = 0.25
- -- maxstartingchance: Maximum chance to start betting
- maxstartingchance = 39.6
- -- minimumchance: The lowest chance per bet
- minimumchance = 10.00
- -- maximumchance: The highest chance per bet
- maximumchance = 66
- -- maximumloss: Maximum percentage of balance to lose before resetting
- maximumloss = 100
- -- stepstomax: How many chance increases before max chance is reached
- stepstomax = 10
- -- goallin: True to go all in if balance is less than next bet
- goallin = true
- betcount=1 -- Number of Bets before Seed Reset
- counter=0
- resetstats()
- -- No need to change anything below this line
- -- If you do things may not work properly
- function IsItProfitable(thischance, bet, hole, target)
- thisprofit = GetPayout(thischance) * bet
- totalprofit = thisprofit - (hole + bet)
- if (totalprofit > target) then
- return 1
- else
- return 0
- end
- end
- function GetPayout(whatchance)
- payoutamt = 99 / whatchance
- return payoutamt
- end
- function GetNextChance(currentbalance, minimum)
- profitgoal = currentbalance * (balancegain / 100)
- payoutamt = (profitgoal + siteminimum) / siteminimum
- chance = 99 / payoutamt
- if (chance > maxstartingchance) then
- chance = maxstartingchance
- end
- if (chance < minimumchance) then
- chance = minimumchance
- 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
- GetRandom()
- nextbet = siteminimum
- chance = GetNextChance(balance, siteminimum)
- nextstep = (maximumchance - chance) / stepstomax
- maxdrawdown = balance * (maximumloss / 100)
- targetbits = (nextbet * GetPayout(chance)) - nextbet
- function dobet()
- print("Current Balance : "..string.format("%.8f",balance))
- print("Current Profit : "..string.format("%.8f",profit))
- if betcount == counter then
- resetseed();
- counter=0
- else
- counter+=1
- end
- if (balance > siteminimum) then
- if (chance >= 99) then
- nextbet = siteminimum
- chance = GetNextChance(balance, siteminimum)
- nextstep = (maximumchance - chance) / stepstomax
- maxdrawdown = balance * (maximumloss / 100)
- targetbits = (nextbet * GetPayout(chance)) - nextbet
- end
- if (win) then
- if (balance > targetprofit) then
- print("Target Achieved!")
- ching()
- stop()
- end
- if (stoponwin) then
- stop()
- end
- 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
- targetbits = (nextbet * GetPayout(chance)) - nextbet
- else
- chance = chance + nextstep
- if (chance > maximumchance) then
- chance = maximumchance
- end
- losstotal = losstotal + previousbet
- multi = initialmulti
- nextbet = previousbet * multi
- while (IsItProfitable(chance, nextbet, losstotal, targetbits) == 0) do
- multi = multi + multistep
- nextbet = nextbet * multi
- end
- if (losstotal > maxdrawdown) then
- print("Max Loss Hit. Resetting.")
- nextbet = siteminimum
- chance = GetNextChance(balance, siteminimum)
- nextstep = (maximumchance - chance) / stepstomax
- maxdrawdown = balance * (maximumloss / 100)
- losstotal = 0
- targetbits = (nextbet * GetPayout(chance)) - nextbet
- end
- end
- if (goallin and (balance - nextbet) < siteminimum) then
- nextbet = balance
- chance = chance - 0.01
- while (IsItProfitable(chance, nextbet, losstotal, targetbits) == 0) do
- chance = chance - 0.01
- end
- if (chance < 0.01) then
- chance = 0.01
- end
- end
- if (balance < nextbet) then
- print("You Busted!")
- alarm()
- stop()
- end
- else
- print("You Busted!")
- alarm()
- stop()
- end
- end
Add Comment
Please, Sign In to add comment