bro… just check distance and then use something like this for the cone check.
function isFacing(cf, pos, angle) -- checks if pos is within the cone/angle of cf's facing direction
return math.acos(cf.lookVector:Dot((cf.p + pos).unit)) < angle or 120
end
i can’t think of a reason to ever shapecast a cone, this is certainly not one of its usage cases