NPC doesn't look into vents

I’ve been working on a bot that investigates patrol points near sounds when played. It can check vent entrances if its near the sound but the bot doesn’t really look into the vent.

I’ve tried to change the bots rotation but it really didn’t work. I also checked around the devforum but they didn’t really seem to helpful.

    ---- code snippet that runs after bot reaches vent entrance ----
	if originalWaypoint.Name ~= "waypoint" then
		if not table.find(createdVentWaypoints, originalWaypoint.Name) then return end
		originalWaypoint.Parent = nil ---- this is only here so it checks vent entrance once
		task.wait(3.5)
	end

Any help would be appreciated :smiley:

I made it where it looks at a attachment and it works now!