Normally I would use something like this:
function Touched(hit)
if hit.Anchored == true then
script.Parent.Parent.Parent.Hull.Front.Value = true
print("ANCHORED front")
end
end
function TouchEnd()
script.Parent.Parent.Parent.Hull.Front.Value = false
print("not anchored front")
end
script.Parent.Touched:connect(Touched)
script.Parent.TouchEnded:connect(TouchEnd)
But this only detects when any brick TOUCHES its face. Is there anyway to alter this script into saying "if it detects a anchored brick within the 5 studded bricks volume, turn front.value to true" not just the surface?

2 comments
Thats exactly what I did, but it only calculates when it touches its FACE not its volume. I want the bool to be true when a anchored part is in that bricks volume.
Try using a blockmesh maybe