Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- minbalance = 1000
- minbet = minbalance/100000
- base = (balance/100000 + minbet)/2
- chance = 100-math.random(40,60)
- bigc = math.random(72,80)+math.random(72,80)/100
- smallc = 100 - bigc
- mchance = (bigc + smallc)/2
- roll = 0
- losecount = 0
- wincount = 0
- nextbet = minbet
- target = balance+base*2
- a = math.random(1,2)
- --------------------------
- bigtarget = balance*1.05
- stoploss = balance*0.90
- --------------------------
- function dobet()
- if balance-nextbet >= bigtarget then
- stop();
- print(balance)
- print("TARGET ACHIEVED!!!")
- print("You Won")
- print("Profit: " .. string.format("%9.8f", profit) )
- print("for this Session")
- end
- if balance-nextbet <= stoploss then
- stop()
- ching()
- resetseed()
- print(balance)
- print("ALARM!!!")
- print("You Lose")
- print("Profit: " .. string.format("%9.8f", profit) )
- print("for this Session")
- end
- if profit >= base*3 then
- resetseed();
- resetstats();
- nextbet = base
- chance = bigc
- end
- if profit > 0 then
- pro = base
- else
- pro = -profit + minbet
- end
- bethigh = bethigh
- roll+=1
- if smallc >= 28 then
- multi = 1.082
- end
- if smallc < 28 and smallc >= 26 then
- multi = 1.078
- end
- if smallc <26 and smallc >= 24 then
- multi = 1.073
- end
- if smallc < 24 and smallc >= 22 then
- multi = 1.062
- end
- if smallc < 22 then
- multi = 1.058
- end
- if win and chance < 30 then
- nextbet = previousbet/2
- chance = smallc
- else
- nextbet = previousbet*2
- chance = bigc
- end
- if !win then
- nextbet = previousbet*multi
- bethigh = !bethigh
- chance = 100-lastBet.chance
- end
- if balance >= target then
- nextbet = minbet
- resetseed()
- resetstats()
- chance = 100-lastBet.chance
- target = balance+base*2
- bigc = math.random(72,80)+math.random(72,80)/100
- smallc = math.random(20,28)+math.random(20,28)/100
- mchance = ( bigc + smallc)/2
- end
- if currentstreak >= 3 then
- bethigh = !bethigh
- chance = mchance
- nextbet = pro
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement