if isKeyJustPressed(49) then
local objects = getAllObjects()
for i,value in ipairs(objects) do
local objectId = sampGetObjectSampIdByHandle(value)
local object = sampGetObjectHandleBySampId(objectId)
local result, positionX, positionY, positionZ =...