Hi @APEXggV2. If the coordinate is constant, the above solution will work. In Minecraft, player coordinate will stay in place except if the player switch into a server, realm, or dimension. If the coordinate address keep changing, then just modify the code above:
function find_address()
gg.searchNumber("233;5;100::9", gg.TYPE_DWORD)
gg.refineNumber('233', gg.TYPE_DWORD)
result = gg.getResults()
gg.editAll('45000', gg.TYPE_DWORD)
gg.clearResults()
gg.searchNumber("1667;2;5731::9", gg.TYPE_DWORD)
gg.refineNumber('1667', gg.TYPE_DWORD)
results = gg.getResults()
gg.editAll('2000', gg.TYPE_DWORD)
gg.clearResults()
return result, results
end
result, results = find_address()
while(true)
if gg.getValues({{address=result[1].address, flags=result[1].flags}}).value == '233' then
result, results = find_address()
gg.sleep(5000) --in milisecond (5 second)
end