Jump to content
  • 0

My script don't work


Maury_Dev

Question

gg.toast("Created By: Maury Dev")

function Money(value)

    gg.clearResults()

    gg.searchNumber(value, gg.TYPE_DWORD)

    if gg.getResultsCount() ~= 0 then

        local result = gg.getResults(3, nil, nil, nil, nil, nil, gg.TYPE_DWORD)

        result[3].value = '0'

        gg.setValues(result)

    end

    gg.clearResults()

end

function Money_Unlimited()

    gg.clearResults()

    gg.searchNumber('240.000;40.000;480.000::9', gg.TYPE_DWORD)

    if gg.getResultsCount() ~= 0 then

        local result = gg.getResults(3, nil, nil, nil, nil, nil, gg.TYPE_DWORD)

        result[3].value = '100.000.000'

        gg.setValues(result)

    end

    gg.toast("💲💲💲")

    gg.clearResults()

end

function SimCash()

    gg.clearResults()

    gg.searchNumber('1.500.000; 32; 0; 0; 0; 2.000.000; 36; 0; 0; 0; 2.500.000; 40::45', gg.TYPE_DWORD)

    if gg.getResultsCount() ~= 0 then

        local result = gg.getResults(12, nil, nil, nil, nil, nil, gg.TYPE_DWORD)

        result[1].value = '0'

        result[2].value = '500.000.000'

        result[6].value = '0'

        result[7].value = '500.000.000'

        result[11].value = '0'

        result[12].value = '500.000.000'

        gg.setValues(result)

    end

    gg.toast("💵💵💵")

    gg.clearResults()

end

local isActive = {MoneyFree = "(OFF) ",SimCash = "(OFF) ",Money_Unlimited = "(OFF) "}

while true do

    local visible = gg.isVisible()

    if visible then

        gg.setVisible(false)

        local select = gg.multiChoice({isActive.MoneyFree .. 'Money Free',isActive.Money_Unlimited .. 'Money Unlimited',isActive.SimCash .. "SimCash "})

        if select then

            if select[1] then

                Money('240.000;0;6.000::9')

                Money('114.000;0;3.000::9')

                Money('64.800;0;1.800::9')

                Money('34.000;0;1000::9')

                Money('9.600;0;300::9')

                Money('900;0;30::9')

                gg.toast("💰💰💰")

                isActive.MoneyFree = "(ON) "

            end

            if select[2] then

                Money_Unlimited()

                isActive.Money_Unlimited = "(ON) "

            end

            if select[3] then

                isActive.SimCash = "(ON) "

                SimCash()

            end

        end

    end

    gg.sleep(100)

end

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.