Jump to content
NikolaG

🍀 [$800] The Greatest Minds: Marcus Aurelius 🍀

Recommended Posts

93.31

placed by Serlite on 21/07/2021

Wagered

0.00025797ltc.svg

Multiplier

10.00x

Profit

0.00232173ltc.svg

This was a pretty straightforward one to script! And not too hard to hit, either.

Just had to dust off an old script and make a couple tweaks:

chance   = 9.9
nextbet  = 0.00025797
bethigh  = true
currency = "Ltc"

function dobet()
    -- break down roll number into comparable components
    local digit4 = round((lastBet.Roll * 100) % 10)
    local digit3 = round(((lastBet.Roll * 100) % 100 - digit4) / 10)
    local digit2 = round(((lastBet.Roll * 100) % 1000 - digit3 * 10 - digit4) / 100)
    local digit1 = round(((lastBet.Roll * 100) - digit2 * 100 - digit3 * 10 - digit4) / 1000)

    if isValidPattern(digit1, digit2, digit3, digit4) then
        print(tostring(lastBet.Roll))
        print(tostring(lastBet.Id))
        ching()
        stop()
    end
end

function round(x)
    return math.floor(x + 0.5)
end

function isValidPattern(digit1, digit2, digit3, digit4)
    if (digit1 % 2 == 1 and digit2 % 2 == 1
        and digit3 % 2 == 1 and digit4 % 2 == 1) then
        return true
    end

    return false
end

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×