Script Mining 2021.2
Script Mining 2021.2
isTokens = false -- Set to false for satoshi betting, true for tokens
a = 0
i = balance*0.98
k = 400
roll = 0
target = balance*1.1
basechance = 42 --sets your chance for placing a bet
basebet = 0.00001 -- Base bet in whole numbers.
basegambit = 0.1 -- base gambit section betting in whole numbers
-- Init variables
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
resetseed()
function dobet()
if rollcount == 7 then
rollcount = 0
resetseed();
else
rollcount = rollcount + 1
end
roll+=1
if balance > target then
stop()
end
if wincount == 6 then
resetseed()
bethigh=!bethigh
wincount = 0
end
if profit>=base*3 then resetstats() resetseed()
roll+=1
if a==5 then
resetseed()
a=0
bethigh = !bethigh
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
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