Jump to content
  • 0

HOW TO WRITE THIS AS SCRIPT


allroundergaming

Question

2 answers to this question

Recommended Posts

I do my scripts with the quickedit you can search for this in play storer. Create a separate folder for your scripts put the name you want, after that your scripts should be saved with (.lua) = Ex: Sky.lua.  all the processes that you see him making manual you foresee to write in the script.

Ex script: function Main()

Local.choice=gg.choice({'Infinityfly','Exit'})

 If  choice ==1 then Infinityfly() end

If choice ==2 then Exit() end

End

Function Infinityfly()

It's important=(gg.setRangers(gg.REGION_CODE_APP)

gg.setVisible(false)

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

End

this is just an example and contains errors as well as lack of information!

Good luck for you!☺

Link to comment
Share on other sites

On 3/4/2021 at 9:16 AM, allroundergaming said:

I want to write this as script 

This requires offset.

1. Download a code editor and name the file script.lua or yourScriptName.lua 

2. you need to search the number so here is what i think is good so far

--main code
gg.searchNumber("yourValue", gg.TYPE_DWORD)
i = gg.getResults('1') --The amount of the values he got when he searched 
local x = {}
x = {}
x[1].address = i[1].address +         --This is your offset hex to convert offset ill cover later
x[1].flags =                           --data type u want to edit the offset is it gg.TYPE_DWORD or gg.TYPE_FLOAT?
x[1].value =                           --The value you want to edit the numbers too
menu = gg.choice({'Hack Name','Exit'},nil,"Main Script 1.0")
if menu==1 then
  start()
  end
if menu==2 then
  stop()
  end
if menu==nil then end

To convert offset click on the 7th icon to the left then convert offset

you need to select 2 values

one being the value you click goto on 

and the other values u want to edit which are high up 

after you select both click the icon and convert it to offset

anything what you get is always in hex

20 = 0x14 thats an example

so put a 0x infront of what you got from gg and add it after the plush sign and thats it! it will search and do everything is done

sorry if i have not explained this correctly but reply if you dont understand something and ill send a screen recording tutorial on how to use this method.

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.