Jump to content

Recommended Posts

Posted

----------------------------------------------------
-- INÍCIO DO SCRIPT
----------------------------------------------------

function START()
    local menu = gg.choice({
        "() JOGADOR",
        "() CARROS",
        "() ARMAS",
        "Sair"
    }, nil, " RIO RISE MOD MENU ")

    if menu == 1 then jogadorMenu()
    elseif menu == 2 then carrosMenu()
    elseif menu == 3 then armasMenu()
    elseif menu == 4 then
        gg.alert("Você saiu. Tchau ")
        os.exit()
    end
end

----------------------------------------------------
-- MENU DO JOGADOR
----------------------------------------------------

function jogadorMenu()
    local escolha = gg.choice({
        "() Speed Hack andando",
        "() Menu de Vida",
        "() Menu do Colete",
        "Voltar"
    }, nil, " MENU DO JOGADOR ")

    if escolha == 1 then speedJogador()
    elseif escolha == 2 then vidaMenu()
    elseif escolha == 3 then coleteMenu()
    elseif escolha == 4 then START()
    end
end


-------------------------------
-- SPEED DO JOGADOR
-------------------------------
function speedJogador()
    local spd = gg.choice({
        " Speed Hack x2",
        " Speed Hack x4",
        " Speed Hack x6",
        " Speed Hack x8",
        " Andar normal",
        "Voltar"
    }, nil, " SPEED DO JOGADOR")

    if spd == 1 then
        gg.searchNumber("1.0", gg.TYPE_FLOAT)
gg.getResults(100)
gg.editAll("2.0", gg.TYPE_FLOAT)
gg.clearResults()
gg.toast("Speed x2 ativado")
    elseif spd == 2 then
        gg.searchNumber("1.0", gg.TYPE_FLOAT)
gg.getResults(100)
gg.editAll("4.0", gg.TYPE_FLOAT)
gg.clearResults()
gg.toast("Speed x4 ativado")
    elseif spd == 3 then
       gg.searchNumber("1.0", gg.TYPE_FLOAT)
gg.getResults(100)
gg.editAll("6.0", gg.TYPE_FLOAT)
gg.clearResults()
gg.toast("Speed x6 ativado")
    elseif spd == 4 then
       gg.searchNumber("1.0", gg.TYPE_FLOAT)
gg.getResults(100)
gg.editAll("8.0", gg.TYPE_FLOAT)
gg.clearResults()
gg.toast("Speed x8 ativado")
    elseif spd == 5 then
       gg.searchNumber("2.0", gg.TYPE_FLOAT)
gg.getResults(100)
gg.editAll("1.0", gg.TYPE_FLOAT)
gg.clearResults()
gg.toast("Speed normal restaurado")
    elseif spd == 6 then
        jogadorMenu()
    end
end


-------------------------------
-- MENU DE VIDA
-------------------------------
function vidaMenu()
    local v = gg.choice({
        "() 100 Vida",
        "() 200 Vida",
        "() 1.000 Vida",
        "Voltar"
    }, nil, " VIDA")

    if v == 1 then
        setVida100()
    elseif v == 2 then
        setVida200()
    elseif v == 3 then
        setVida1000()
    elseif v == 4 then
        jogadorMenu()
    end
end


-- FUNÇÕES DE VIDA (AQUI VOCÊ INSERE O CÓDIGO)
function setVida100()
   
end

function setVida200()
    gg.clearResults()
    gg.searchNumber("100", gg.TYPE_FLOAT)
    gg.editAll("200", gg.TYPE_FLOAT)
    gg.clearResults()
    gg.toast("Vida ajustada para 200!")
end

function setVida1000()
    gg.clearResults()
    gg.searchNumber("100", gg.TYPE_FLOAT)
    gg.editAll("1000", gg.TYPE_FLOAT)
    gg.clearResults()
    gg.toast("Vida ajustada para 1000!")
end


-------------------------------
-- MENU DE COLETE
-------------------------------
function coleteMenu()
    local c = gg.choice({
        "() 100 Colete",
        "() 200 Colete",
        "() 250 Colete",
        "() 1.000 Colete",
        "Voltar"
    }, nil, " COLETE")

    if c == 1 then setColete100()
    elseif c == 2 then setColete200()
    elseif c == 3 then setColete250()
    elseif c == 4 then setColete1000()
    elseif c == 5 then jogadorMenu()
    end
end


-- FUNÇÕES DE COLETE (AQUI VOCÊ INSERE O CÓDIGO)
function setColete100()
    -- COLOQUE SEU CÓDIfunction speedX2()
    gg.clearResults()
    gg.searchNumber("100", gg.TYPE_FLOAT)
    gg.editAll("100", gg.TYPE_FLOAT)
    gg.toast("Colete ajustada para 100!")
end

function setColete200()
    -- COLOQUE SEU CÓDIGO
    gg.clearResults()
    gg.searchNumber("100", gg.TYPE_FLOAT)
    gg.editAll("200", gg.TYPE_FLOAT)
    gg.toast("Colete ajustada para 200!")
end

function setColete250()
    -- COLOQUE SEU CÓDIGO
    gg.clearResults()
    gg.searchNumber("100", gg.TYPE_FLOAT)
    gg.editAll("250", gg.TYPE_FLOAT)
    gg.toast("Colete ajustada para 250!")
end

function setColete1000()
    -- COLOQUE SEU CÓDIGO
    gg.clearResults()
    gg.searchNumber("100", gg.TYPE_FLOAT)
    gg.editAll("1000", gg.TYPE_FLOAT)
    gg.toast("Colete ajustada para 1000!")
end


----------------------------------------------------
-- MENU DE CARROS
----------------------------------------------------
function carrosMenu()
    local escolha = gg.choice({
        "() Speed Veículos",
        "() Lataria Infinita",
        "() Ligar Veículos",
        "Voltar"
    }, nil, " VEÍCULOS ")

    if escolha == 1 then speedCarro()
    elseif escolha == 2 then
        latariaInfinita()
    elseif escolha == 3 then
        ligarVeiculos()
    elseif escolha == 4 then
        START()
    end
end


-- SPEED DOS CARROS
function speedCarro()
    local s = gg.choice({
        " Speed x2",
        " Speed x4",
        " Speed x6",
        " Speed x8",
        " Normal",
        "Voltar"
    }, nil, " SPEED DO CARRO")

    if s == 1 then
        -- COLOQUE CÓDIGO SPEED X2
    elseif s == 2 then
        -- COLOQUE CÓDIGO SPEED X4
    elseif s == 3 then
        -- COLOQUE CÓDIGO SPEED X6
    elseif s == 4 then
        -- COLOQUE CÓDIGO SPEED X8
    elseif s == 5 then
        -- RESET
    elseif s == 6 then carrosMenu()
    end
end


-- FUNÇÕES DE CARROS
function latariaInfinita()
    -- COLOQUE SEU CÓDIGO
end

function ligarVeiculos()
    -- COLOQUE SEU CÓDIGO
end


----------------------------------------------------
-- MENU DE ARMAS
----------------------------------------------------
function armasMenu()
    local escolha = gg.choice({
        " Dester",
        " Munição Infinita",
        "Voltar"
    }, nil, " ARMAS")

    if escolha == 1 then desterMenu()
    elseif escolha == 2 then municaoInfinita()
    elseif escolha == 3 then START()
    end
end


-- DESTROYER / DESTER
function desterMenu()
    local d = gg.choice({
        " Puxar Dester com 35 munição",
        "Voltar"
    }, nil, " DESTER")

    if d == 1 then
        puxarDester()
    elseif d == 2 then
        armasMenu()
    end
end

function puxarDester()
    -- COLOQUE SEU CÓDIGO
end


-- MUNIÇÃO INFINITA
function municaoInfinita()
    local m = gg.choice({
        " Ativar munição infinita",
        "Voltar"
    }, nil, " MUNIÇÃO")

    if m == 1 then
        baixarMunicao()
    elseif m == 2 then
        armasMenu()
    end
end

function baixarMunicao()
    -- COLOQUE SEU CÓDIGO
end


----------------------------------------------------
-- LOOP PRINCIPAL
----------------------------------------------------
while true do
    if gg.isVisible(true) then
        gg.setVisible(false)
        START()
    end
end
 

----------------------------------------------------

-- INÍCIO DO SCRIPT

----------------------------------------------------

 

function START()

    local menu = gg.choice({

        "() JOGADOR",

        "() CARROS",

        "() ARMAS",

        "Sair"

    }, nil, " RIO RISE MOD MENU ")

 

    if menu == 1 then jogadorMenu()

    elseif menu == 2 then carrosMenu()

    elseif menu == 3 then armasMenu()

    elseif menu == 4 then

        gg.alert("Você saiu. Tchau ")

        os.exit()

    end

end

 

----------------------------------------------------

-- MENU DO JOGADOR

----------------------------------------------------

 

function jogadorMenu()

    local escolha = gg.choice({

        "() Speed Hack andando",

        "() Menu de Vida",

        "() Menu do Colete",

        "Voltar"

    }, nil, " MENU DO JOGADOR ")

 

    if escolha == 1 then speedJogador()

    elseif escolha == 2 then vidaMenu()

    elseif escolha == 3 then coleteMenu()

    elseif escolha == 4 then START()

    end

end

 

 

-------------------------------

-- SPEED DO JOGADOR

-------------------------------

function speedJogador()

    local spd = gg.choice({

        " Speed Hack x2",

        " Speed Hack x4",

        " Speed Hack x6",

        " Speed Hack x8",

        " Andar normal",

        "Voltar"

    }, nil, " SPEED DO JOGADOR")

 

    if spd == 1 then

        gg.searchNumber("1.0", gg.TYPE_FLOAT)

gg.getResults(100)

gg.editAll("2.0", gg.TYPE_FLOAT)

gg.clearResults()

gg.toast("Speed x2 ativado")

    elseif spd == 2 then

        gg.searchNumber("1.0", gg.TYPE_FLOAT)

gg.getResults(100)

gg.editAll("4.0", gg.TYPE_FLOAT)

gg.clearResults()

gg.toast("Speed x4 ativado")

    elseif spd == 3 then

       gg.searchNumber("1.0", gg.TYPE_FLOAT)

gg.getResults(100)

gg.editAll("6.0", gg.TYPE_FLOAT)

gg.clearResults()

gg.toast("Speed x6 ativado")

    elseif spd == 4 then

       gg.searchNumber("1.0", gg.TYPE_FLOAT)

gg.getResults(100)

gg.editAll("8.0", gg.TYPE_FLOAT)

gg.clearResults()

gg.toast("Speed x8 ativado")

    elseif spd == 5 then

       gg.searchNumber("2.0", gg.TYPE_FLOAT)

gg.getResults(100)

gg.editAll("1.0", gg.TYPE_FLOAT)

gg.clearResults()

gg.toast("Speed normal restaurado")

    elseif spd == 6 then

        jogadorMenu()

    end

end

 

 

-------------------------------

-- MENU DE VIDA

-------------------------------

function vidaMenu()

    local v = gg.choice({

        "() 100 Vida",

        "() 200 Vida",

        "() 1.000 Vida",

        "Voltar"

    }, nil, " VIDA")

 

    if v == 1 then

        setVida100()

    elseif v == 2 then

        setVida200()

    elseif v == 3 then

        setVida1000()

    elseif v == 4 then

        jogadorMenu()

    end

end

 

 

-- FUNÇÕES DE VIDA (AQUI VOCÊ INSERE O CÓDIGO)

function setVida100()

   

end

 

function setVida200()

    gg.clearResults()

    gg.searchNumber("100", gg.TYPE_FLOAT)

    gg.editAll("200", gg.TYPE_FLOAT)

    gg.clearResults()

    gg.toast("Vida ajustada para 200!")

end

 

 

 

function setVida1000()

    gg.clearResults()

    gg.searchNumber("100", gg.TYPE_FLOAT)

    gg.editAll("1000", gg.TYPE_FLOAT)

    gg.clearResults()

    gg.toast("Vida ajustada para 1000!")

end

 

 

 

 

-------------------------------

-- MENU DE COLETE

-------------------------------

function coleteMenu()

    local c = gg.choice({

        "() 100 Colete",

        "() 200 Colete",

        "() 250 Colete",

        "() 1.000 Colete",

        "Voltar"

    }, nil, " COLETE")

 

    if c == 1 then setColete100()

    elseif c == 2 then setColete200()

    elseif c == 3 then setColete250()

    elseif c == 4 then setColete1000()

    elseif c == 5 then jogadorMenu()

    end

end

 

 

-- FUNÇÕES DE COLETE (AQUI VOCÊ INSERE O CÓDIGO)

function setColete100()

    -- COLOQUE SEU CÓDIfunction speedX2()

    gg.clearResults()

    gg.searchNumber("100", gg.TYPE_FLOAT)

    gg.editAll("100", gg.TYPE_FLOAT)

    gg.toast("Colete ajustada para 100!")

end

 

function setColete200()

    -- COLOQUE SEU CÓDIGO

    gg.clearResults()

    gg.searchNumber("100", gg.TYPE_FLOAT)

    gg.editAll("200", gg.TYPE_FLOAT)

    gg.toast("Colete ajustada para 200!")

end

 

function setColete250()

    -- COLOQUE SEU CÓDIGO

    gg.clearResults()

    gg.searchNumber("100", gg.TYPE_FLOAT)

    gg.editAll("250", gg.TYPE_FLOAT)

    gg.toast("Colete ajustada para 250!")

end

 

function setColete1000()

    -- COLOQUE SEU CÓDIGO

    gg.clearResults()

    gg.searchNumber("100", gg.TYPE_FLOAT)

    gg.editAll("1000", gg.TYPE_FLOAT)

    gg.toast("Colete ajustada para 1000!")

end

 

 

----------------------------------------------------

-- MENU DE CARROS

----------------------------------------------------

function carrosMenu()

    local escolha = gg.choice({

        "() Speed Veículos",

        "() Lataria Infinita",

        "() Ligar Veículos",

        "Voltar"

    }, nil, " VEÍCULOS ")

 

    if escolha == 1 then speedCarro()

    elseif escolha == 2 then

        latariaInfinita()

    elseif escolha == 3 then

        ligarVeiculos()

    elseif escolha == 4 then

        START()

    end

end

 

 

-- SPEED DOS CARROS

function speedCarro()

    local s = gg.choice({

        " Speed x2",

        " Speed x4",

        " Speed x6",

        " Speed x8",

        " Normal",

        "Voltar"

    }, nil, " SPEED DO CARRO")

 

    if s == 1 then

        -- COLOQUE CÓDIGO SPEED X2

    elseif s == 2 then

        -- COLOQUE CÓDIGO SPEED X4

    elseif s == 3 then

        -- COLOQUE CÓDIGO SPEED X6

    elseif s == 4 then

        -- COLOQUE CÓDIGO SPEED X8

    elseif s == 5 then

        -- RESET

    elseif s == 6 then carrosMenu()

    end

end

 

 

-- FUNÇÕES DE CARROS

function latariaInfinita()

    -- COLOQUE SEU CÓDIGO

end

 

function ligarVeiculos()

    -- COLOQUE SEU CÓDIGO

end

 

 

----------------------------------------------------

-- MENU DE ARMAS

----------------------------------------------------

function armasMenu()

    local escolha = gg.choice({

        " Dester",

        " Munição Infinita",

        "Voltar"

    }, nil, " ARMAS")

 

    if escolha == 1 then desterMenu()

    elseif escolha == 2 then municaoInfinita()

    elseif escolha == 3 then START()

    end

end

 

 

-- DESTROYER / DESTER

function desterMenu()

    local d = gg.choice({

        " Puxar Dester com 35 munição",

        "Voltar"

    }, nil, " DESTER")

 

    if d == 1 then

        puxarDester()

    elseif d == 2 then

        armasMenu()

    end

end

 

function puxarDester()

    -- COLOQUE SEU CÓDIGO

end

 

 

-- MUNIÇÃO INFINITA

function municaoInfinita()

    local m = gg.choice({

        " Ativar munição infinita",

        "Voltar"

    }, nil, " MUNIÇÃO")

 

    if m == 1 then

        baixarMunicao()

    elseif m == 2 then

        armasMenu()

    end

end

 

function baixarMunicao()

    -- COLOQUE SEU CÓDIGO

end

 

 

----------------------------------------------------

-- LOOP PRINCIPAL

----------------------------------------------------

while true do

    if gg.isVisible(true) then

        gg.setVisible(false)

        START()

    end

end

 

Have a great game, bye 👋

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.