Jump to content
OraOraOra

How to write command

Recommended Posts

I need help

Example i search value : 1;2;3;4::14

value show : 1;2;3;4

i want to edit :

1 to 10, 2 to 20, 3 to 30, 4 to 40. simultaneously

How i write command in the script?

Share this post


Link to post
Share on other sites

Posted (edited)
55 minutes ago, OraOraOra said:

I need help

Example i search value : 1;2;3;4::14

value show : 1;2;3;4

i want to edit :

1 to 10, 2 to 20, 3 to 30, 4 to 40. simultaneously

How i write command in the script?

a = gg.searchNumber("1;2;3;4::14", gg.TYPE_DWORD)
a = gg.getResults(gg.getResultsCount())
b = gg.refineNumber("1", gg.TYPE_DOWRD)
gg.getResults(gg.getResultsCount())
gg.editAll(10, gg.TYPE_DWORD)
gg.clearResults()
gg.loadResults(a)
b = gg.refineNumber("2", gg.TYPE_DOWRD)
gg.getResults(gg.getResultsCount())
gg.editAll(20, gg.TYPE_DWORD)
gg.clearResults()
gg.loadResults(a)
b = gg.refineNumber("3", gg.TYPE_DOWRD)
gg.getResults(gg.getResultsCount())
gg.editAll(30, gg.TYPE_DWORD)
gg.clearResults()
gg.loadResults(a)
b = gg.refineNumber("4", gg.TYPE_DOWRD)
gg.getResults(gg.getResultsCount())
gg.editAll(40, gg.TYPE_DWORD)
gg.clearResults()
 

Edited by HEROGAMEOfficial

Share this post


Link to post
Share on other sites
1 hour ago, OraOraOra said:

I need help

Example i search value : 1;2;3;4::14

value show : 1;2;3;4

i want to edit :

1 to 10, 2 to 20, 3 to 30, 4 to 40. simultaneously

How i write command in the script?

gg.searchNumber("1;2;3;4::14", 4)
local t = gg.getResults(10)

for i,v in ipairs(t) do
      local value = v.value
      if value == 1 then
         v.flags = 4
         v.value = 10
      end    
      if value == 2 then
         v.flags = 4
         v.value = 20
      end
      if value == 3 then 
         v.flags = 4
         v.value = 30
      end

       if value == 4 then 

            v.flags = 4

            v.value = 40
end

Share this post


Link to post
Share on other sites
10 minutes ago, El_dorado said:

gg.searchNumber("1;2;3;4::14", 4)
local t = gg.getResults(10)

for i,v in ipairs(t) do
      local value = v.value
      if value == 1 then
         v.flags = 4
         v.value = 10
      end    
      if value == 2 then
         v.flags = 4
         v.value = 20
      end
      if value == 3 then 
         v.flags = 4
         v.value = 30
      end

       if value == 4 then 

            v.flags = 4

            v.value = 40
end

Use pairs instead of ipairs.

Share this post


Link to post
Share on other sites
5 minutes ago, ItsSC said:

Use pairs instead of ipairs.

Alright boss

 

Share this post


Link to post
Share on other sites

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

  • Similar Content

    • By AMATERASU0
      View File PUBG MOBILE VIP SCRIPT
      PUBG MOBILE VIP SCRIPT
       
      PASSWORD:0192
      BY THE TnT
      For more hack : https://t.me/godgorkhalichannel
       
      🔰TnT VIP SCRIPT pubg MOBILE🔰
       
      ⚠️Features:
      ✅Bypass
      ✅antena
      ✅wall HACK 
       Wallhack SD 625 ",
      (✧ Wallhack SD 636 ",
      "✧ Wallhack SD 660 ",
      "✧ Wallhack SD 675 ",
      "✧ Wallhack SD 710 ",
      "✧ Wallhack SD 712 ",
      "✧ Wallhack SD 835 ",
      "✧ Wallhack SD 845 ",
      "✧ Wallhack SD 855 ",
      "✧ Wallhack SD 855+ ")
      ✅colour hacK
      Colorhack SD 625 ",
      "✧ Colorhack SD 636 ",
      "✧ Colorhack SD 660 ",
      "✧ Colorhack SD 675 ",
      "✧ Colorhack SD 710 ",
      "✧ Colorhack SD 712 ",
      "✧ Colorhack SD 835 ",
      "✧ Colorhack SD 845 ",
      "✧ Colorhack SD 855 ",
      ✅auto data on off
      ✅speed hack (flash)
      ✅visual hack
       
       
       
      Submitter AMATERASU0 Submitted 09/17/2020 Category PUBG  
    • By AMATERASU0
      PUBG MOBILE VIP SCRIPT
       
      PASSWORD:0192
      BY THE TnT
      For more hack : https://t.me/godgorkhalichannel
       
      🔰TnT VIP SCRIPT pubg MOBILE🔰
       
      ⚠️Features:
      ✅Bypass
      ✅antena
      ✅wall HACK 
       Wallhack SD 625 ",
      (✧ Wallhack SD 636 ",
      "✧ Wallhack SD 660 ",
      "✧ Wallhack SD 675 ",
      "✧ Wallhack SD 710 ",
      "✧ Wallhack SD 712 ",
      "✧ Wallhack SD 835 ",
      "✧ Wallhack SD 845 ",
      "✧ Wallhack SD 855 ",
      "✧ Wallhack SD 855+ ")
      ✅colour hacK
      Colorhack SD 625 ",
      "✧ Colorhack SD 636 ",
      "✧ Colorhack SD 660 ",
      "✧ Colorhack SD 675 ",
      "✧ Colorhack SD 710 ",
      "✧ Colorhack SD 712 ",
      "✧ Colorhack SD 835 ",
      "✧ Colorhack SD 845 ",
      "✧ Colorhack SD 855 ",
      ✅auto data on off
      ✅speed hack (flash)
      ✅visual hack
       
       
       
    • By Dilan1990
      VIP [Not Dec].enc
    • By argarrize
      View File Script : Among Us
      Hi Everyone, 
      Enjoy The Script !
       
      All descriptions of its features are in the script
      Feature :
      - No clip
      - Giant Size
      - Vision Hack
      Support ON/OFF : Yes
      *Sorry typo at my nick name lol haha
      Submitter argarrize Submitted 09/12/2020 Category LUA scripts  
    • By Dailovic
      I want good script for online ark mobile someone know good script?
×
×
  • Create New...