Just change the coordinates and also change the object ID if u have another one to add.
local gate = createObject(985, 263.9, -1333.5, 53.251480102539, 0, 0, 35)
local marker = createMarker(264.177734375, -1333.2490234375, 53.251480102539, "cylinder", 8, 0, 0, 0, 0)
function moveGate(psource)
local Omegausergroup = getAccountName(getPlayerAccount(psource))
if isObjectInACLGroup("user."..Xyruviausergroup, aclGetGroup("OMEGA")) then
moveObject(gate, 1000, 263.9, -1333.5, 46)
end
end
addEventHandler("onMarkerHit", marker, moveGate)
function move_back_gate()
moveObject(gate, 1000, 263.9, -1333.5, 53.251480102539)
end
addEventHandler("onMarkerLeave", marker, move_back_gate)