Hello,
I just created my first lua script on the Dragon Ball Legends game on Android and I would like to have your opinion on this work which took time because I started ...
The ModMenu includes the following options:
- GodMod: Become Invincible
- Weak Ennemy: Make the opponent vulnerable (choice of the number of enemies to automate the task)
For the Weak Ennemy, when the opponent dies in excruciating pain after your fatal blow with the infinity glove, you automatically return to GameGuardian and the next opponent is automatically made vulnerable, until you extermination of each opponent.
::start::
mort =1
gg.setVisible(true)
gg.clearResults()
gg.clearList()
menu = gg.choice({"GodMod","Weak Ennemy","Both"},nil,"VIP ModMenu Dragon Ball Legends")if menu ==nilthen goto stop end
weakmod =1
godmod =1e30if menu ==1then
both =false
goto a
endif menu ==2then
both =false
goto b
endif menu ==3then
both =true
goto a
endif menu ==nilthen goto stop end::a::
data = gg.prompt({[1]='My HP'},{[1]=nil})if data ==nilthen goto start end
gg.searchNumber(data[1], gg.TYPE_FLOAT,false, gg.SIGN_EQUAL,0,-1)
empty = gg.getResultsCount()if empty ==0then
gg.clearResults()
gg.searchNumber(data[1], gg.TYPE_AUTO,false, gg.SIGN_EQUAL,0,-1)end
gg.getResults(12)
gg.editAll(godmod, gg.TYPE_FLOAT)
gg.clearResults()
gg.toast("GodMod ACTIVATED")if both ==truethen
goto b
else
goto stop
end::b::
choix_nb_ennemy = gg.choice({'1','2','3'},nil,'Ennemy Number')
data = gg.prompt({[1]='Ennemy HP'},{[1]=nil})if data ==nilthen goto start end
gg.searchNumber(data[1], gg.TYPE_AUTO,false, gg.SIGN_EQUAL,0,-1)
next_ennemy = data[1]
gg.getResults(20)
gg.editAll(weakmod, gg.TYPE_FLOAT)
gg.toast("Weak Ennemy ACTIVATED")
goto c
::c::if gg.isVisible(true)then
gg.setVisible(false)endif choix_nb_ennemy ==1then
nb_ennemy =1endif choix_nb_ennemy ==2then
nb_ennemy =2endif choix_nb_ennemy ==3then
nb_ennemy =3endwhile mort <= nb_ennemy doif mort == nb_ennemy thenbreakendfor i, v in pairs(gg.getResults(16,nil,nil,nil,nil,nil, gg.TYPE_DWORD | gg.TYPE_QWORD))doif v.value >1and v.value ~= next_ennemy then
gg.toast("Ennemy is DeadBack to GG...")
gg.sleep(1000)
next_ennemy = v.value
goto d
endendend
gg.toast("Ennemy is DeadYOU WIN")
goto stop
::d::
mort = mort +1
gg.setVisible(true)
gg.clearResults()
gg.searchNumber(next_ennemy, gg.TYPE_AUTO,false, gg.SIGN_EQUAL,0,-1)
gg.getResults(16)
gg.editAll(weakmod, gg.TYPE_FLOAT)
gg.toast("Weak Ennemy ACTIVATED")
goto c
::stop::if gg.isVisible(true)then
gg.setVisible(false)end
gg.clearResults()
os.exit()
I also have a question: Can we make sure that the values are automatically found at the launch of the script without the user entering anything? For example when the fight begins, my character has 1 500 000 HP, can we find this value without the user entering "1500000" in the script?
Thank you for your feedback!
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.
Question
WebReveuse1
Hello,
I just created my first lua script on the Dragon Ball Legends game on Android and I would like to have your opinion on this work which took time because I started ...
The ModMenu includes the following options:
- GodMod: Become Invincible
- Weak Ennemy: Make the opponent vulnerable (choice of the number of enemies to automate the task)
For the Weak Ennemy, when the opponent dies in excruciating pain after your fatal blow with the infinity glove, you automatically return to GameGuardian and the next opponent is automatically made vulnerable, until you extermination of each opponent.
I also have a question: Can we make sure that the values are automatically found at the launch of the script without the user entering anything? For example when the fight begins, my character has 1 500 000 HP, can we find this value without the user entering "1500000" in the script?
Thank you for your feedback!
WebReveuse1
12 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now