local addrss=0x001005E4 local flag={} local hp={} local x={} local y={} for i=0,100 do flag[i]=addrss+0xB0*i hp[i]=addrss+0xB0*i+22 x[i]=addrss+0xB0*i+4 y[i]=addrss+0xB0*i+8 end local function displayfunc() j=0 for i=0,100 do if (memory.readshort(flag[i])==16 and memory.readshort(hp[i])<=29000 and memory.readshort(hp[i])>0 and memory.readshort(x[i])>=0 and memory.readshort(x[i])<360) then j=j+8 if j<=168 then gui.text(32,j+32,"" .. memory.readshort(hp[i]),"red") gui.text(0,j+32,string.format("%X",hp[i])) else gui.text(96,j+32-168,"" .. memory.readshort(hp[i]),"red") gui.text(64,j+32-168,string.format("%X",hp[i])) end end end gui.text(0,216,"1PX:" .. memory.readshort(0x00100524)) gui.text(40,216,"1PY:" .. memory.readshort(0x00100528)) gui.text(228,216,"2PX:" .. memory.readshort(0x001005D4)) gui.text(268,216,"2PY:" .. memory.readshort(0x001005D8)) gui.text(125,208,"screenX: " .. memory.readshort(0x00100474)) gui.text(125,216,"screenY: " .. memory.readshort(0x00100478)) end gui.register(function() displayfunc() end)