Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
2.1 kB
6
Indexable
-- SETTINGS
targetProfit = 1 -- set your target profit

-- DO NOT CHANGE ANYTHING BELOW
divider = 55000
initialchance = 49.5
basebet = 0.00000001

nextbet = basebet
-- ######## LIMBO TALHA ########
function dobet()

    if win then
        nextbet = basebet
        chance = initialchance
    else
        if(currentstreak == -4) then
            nextbet = balance / divider
        end
    
        if(currentstreak > -4) then
            nextbet = incDecVar(nextbet, 100)
        end
        
        if(currentstreak < -3) then
            chance = 52.11
            nextbet = incDecVar(nextbet, 122.5)
        end
        
        if(currentstreak < -4) then
            nextbet = decDecVar(nextbet, 5.05)
        end
        
        if(currentstreak < -6) then
            chance = 55.0
            nextbet = incDecVar(nextbet, 12.4)
        end
        
        if(currentstreak < -7) then
            nextbet = decDecVar(nextbet, 5.25)
        end
        
        if(currentstreak < -9) then
            chance = 58.24
            nextbet = incDecVar(nextbet, 14.3)
        end
        
        if(currentstreak < -10) then
            nextbet = decDecVar(nextbet, 5.56)
        end
        
        if(currentstreak < -12) then
            chance = 61.87
            nextbet = incDecVar(nextbet, 16.66)
        end
        
        if(currentstreak < -13) then
            nextbet = decDecVar(nextbet, 5.88)
        end
        
        if(currentstreak < -15) then
            chance = 66.0
            nextbet = incDecVar(nextbet, 20)
        end
        
        if(currentstreak < -18) then 
            chance = 70.71
            nextbet = incDecVar(nextbet, 50)
        end
        
        if(currentstreak < -21) then
            chance = 76.15
            nextbet = incDecVar(nextbet, 83.33)
        end 
    end
    
    if(profit >= targetProfit) then
        stop()
    end
end

-- UTILITY FUNCTION
function incDecVar(var,per)
    return (var + (var / 100) * per)
end

function decDecVar(var,per)
    return (var - (var / 100) * per)
end