Jump to content
  • 0

Help to this code


g1doz

Question

anyone explain me this code

 

local scriptName = [=====[Script for Shadow Of Death 1.53.0.0]=====]
local scriptVersion = '1.0.5'
local scriptAuthor = 'Unpeakable_hacker090'
local startToast = ''
-- 0 - no check; 1 - check package only, 2 - check package and build
local checkTarget = 0

local targetName = [=====[Shadow Of Death]=====]
local targetPkg = 'com.Zonmob.ShadowofDeath.FightingGames'
local targetVersion = [=====[1.53.0.0]=====]
local targetBuild = 139

-- functions

-- init

if startToast ~= '' then startToast = '\n'..startToast end
gg.toast(scriptName..' v'..scriptVersion..' by '..scriptAuthor..startToast)

if checkTarget ~= 0 then
    local info = gg.getTargetInfo()
    local check = true
    local current = true
    if checkTarget >= 1 then
        check = targetPkg
        current = info.packageName
    end
    if checkTarget >= 2 then
    check = check..' '..targetVersion..' ('..targetBuild..')'
        current = current..' '..info.versionName..' ('..info.versionCode..')'
    end
    if check ~= current then
        gg.alert('This script for "'..targetName..'" ['..check..'].\nYou select "'..info.label..'" ['..current..'].\nNow script exit.')
        os.exit()
    end
end
local revert = nil

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

2 hours ago, Enyby said:

Some alien technologies. Nobody know what is that.

Good joke , lol .

Quote

anyone explain me this code

 

@g1doz it is record script feature by GG , but

You (or person who gave you it) just pressed on record script and without doing any action , you pressed on stop recording .

So it gave you codes about target info .

If you dont know what is it learn this from /help page (or if you want just ignore it) .

Link to comment
Share on other sites

13 minutes ago, TopGEOYT said:

Good joke , lol .

@g1doz it is record script feature by GG , but

You (or person who gave you it) just pressed on record script and without doing any action , you pressed on stop recording .

So it gave you codes about target info .

If you dont know what is it learn this from /help page (or if you want just ignore it) .

yes true thanks TopGEO

Link to comment
Share on other sites

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.