Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- editor by /wedus g@mbel --
- base = 0.01
- lossStartMult = 35
- bethigh = false
- randomHighLow = true
- useDebugInfo = false
- stopnow = false
- lossCount = 0
- maxLosses = lossStartMult+5
- chance = 20.5
- curbet = base
- nextbet = base
- biggestLossStreak = 0
- biggestBet = 0
- target = 15000-- Doge
- tprofit = balance + target
- function dobet()
- if(balance >= tprofit) then stop()
- print("Target SudahTERCAPAI")
- end
- if (randomHighLow) then
- if (math.random() < .1) then bethigh = !bethigh end
- end
- if (stopnow and win) then
- debugInfo()
- resetseed()
- end
- if (!win) then
- lossCount += 1
- else
- lossCount = 0
- end
- if (lossCount < lossStartMult) then
- chance = math.random(8,12)
- curbet = base
- nextbet = curbet
- end
- if (lossCount == lossStartMult) then
- chance = 20
- curbet = base *2.5
- nextbet = curbet
- end
- if (lossCount > lossStartMult and lossCount < maxLosses) then
- chance = math.random(18,20)
- curbet = curbet * 1.37
- nextbet = curbet
- end
- if (lossCount == maxLosses) then
- chance = math.random(18,20)
- curbet = curbet * 2
- nextbet = curbet
- end
- if (lossCount > maxLosses) then
- chance = math.random(18,20)
- curbet = curbet * 1.27
- nextbet = curbet
- end
- if (lossCount > biggestLossStreak) then
- biggestLossStreak = lossCount
- end
- if (nextbet > biggestBet) then
- biggestBet = nextbet
- end
- if (useDebugInfo) then debugInfo() end
- end
- function debugInfo()
- --print("\nBetHigh = " .. tostring(bethigh))
- --print("Chance = " .. chance)
- --print("Current Bet = " .. string.format("%9.8f", curbet))
- --print("Current Loss Streak = " .. lossCount)
- print("Biggest Loss Streak = " .. biggestLossStreak)
- print("Biggest Bet = " .. string.format("%9.8f", biggestBet))
- print("Total Profit = " .. string.format("%9.8f", profit))
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement