Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- edited by DICEKODE
- -- youtube: https://www.youtube.com/channel/UC-BpueviNmn12aV_pBRY3gQ
- -- blog: https://dicekode.blogspot.com
- -- whatsapp: https://chat.whatsapp.com/Faes925uLw9HkhZeFHchFf
- -- linkdonasi: berikan pada yang "berhak"
- -- This is GAMBLING! -- DWYOR (Do With Your Own Risk)
- isTokens = false -- Set to false for satoshi betting, true for tokens
- a = 0
- roll = 0
- target = balance*1.1
- basechance = 42 --sets your chance for placing a bet
- basebet = 0.01 -- Base bet in whole numbers.
- basegambit = 0.1 -- base gambit section betting in whole numbers
- prerolllimit = 3 -- length of loss set before gambit
- gambitlimit = 2 -- number of gambit bets to make
- fibstep = 0.135 -- Stepping for the fibonacci bet increments
- rollDelay = 0 -- Sleep period in seconds. Some sites need this
- -- Init variables
- nextbet = basebet -- sets your first bet.
- chance = basechance -- sets the chance to play at
- losscount = 0 -- to count until set of losses
- waitforwin = 0 -- Wait for a win after gambit
- gambit = 0 -- flag for when doing 3-bet runs
- gambitcount = 0 -- number of gambit bets performed currently
- gambitmult = 0 -- gambit multiplier/counter
- streakStartBalance = 0
- previouscount = 0
- local clock = os.clock
- function sleep(n) -- seconds
- local t0 = clock()
- while clock() - t0 <= n do end
- end
- function myfib(level)
- fibno=basegambit
- temp=0
- prevfibno=0
- if level == 0 then
- fibno= basebet
- else
- for j=0,level-1,1 do
- temp=fibno
- fibno=fibno + (prevfibno * fibstep)
- prevfibno=temp
- end
- end
- return fibno
- end
- function dobet()
- roll+=1
- if a==5 then
- resetseed()
- a=0
- bethigh = !bethigh
- end
- if roll>=50 then
- resetseed()
- print(" ")
- print("target: "..target)
- print("nextbet: "..nextbet)
- print("chance: "..chance)
- print("Profit to go: "..target - balance)
- print(" ")
- end
- end
- if win then
- if gambit == 0 then -- win, regular roll
- losscount = 0
- waitforwin = 0
- else -- win, gambit roll; reset everything
- if(balance > streakStartBalance) then -- Reset everything
- a+=1
- gambitcount=0
- previouscount = 0
- gambit=0
- gambitmult = 0
- nextbet = basebet
- losscount = 0
- waitforwin = 0
- streakStartBalance = 0
- else -- continue gambit
- gambit = 0
- previouscount -= 1
- if(previouscount < 1) then
- previouscount = 1
- end
- nextbet = basebet
- -- nextbet = myfib(previouscount)
- end
- end
- else -- lost last roll
- if(streakStartBalance == 0) then -- Get initial balance at the start of this run
- streakStartBalance = balance
- end
- if gambit == 0 then -- lose, regular roll
- losscount = losscount + 1
- if losscount >= prerolllimit and waitforwin == 0 then -- turn on the gambit
- gambit = 1
- gambitcount = 1
- previouscount += 1
- -- gambitmult = gambitmult + 1
- nextbet = myfib(previouscount)
- -- nextbet = basebet * (multiplier^gambitmult)
- losscount = 0 -- primed for after the gambit
- end
- else -- lose, gambit roll
- if gambitcount<gambitlimit and waitforwin == 0 then -- next bet is another gambit
- gambitcount = gambitcount + 1
- previouscount += 1
- nextbet = myfib(previouscount)
- else -- gambit set over; go back to base bet but preserve previouscount
- nextbet = basebet
- gambitcount = 0
- gambit = 0
- waitforwin = 1
- end
- end
- end
- sleep(rollDelay)
- end
Add Comment
Please, Sign In to add comment