Make Part Face Raycast Instance Orientation

I’m currently trying to find a way to make a part, face the direction that the instance of the raycast is facing. Can anyone help me out & possibly tell me how to accomplish this?

Example, make the front face of 1 part face the same direction the front face of part 2 is facing using raycast results.

I’m not sure I understand, do you want two parts to look at each other?

As you haven’t provided a clear explanation I can only provide you with the following.

Part.CFrame = CFrame.lookAt(Part.Position, Origin) --Position 'Part' to look at ray's origin.
Part.CFrame = CFrame.lookAt(Part.Position, RaycastResult.Position) --Position 'Part' to look at ray's hit position.
Part.CFrame = CFrame.new(Part.Position) * RaycastResult.Instance.Rotation --Apply the same rotation to 'Part' that is applied to the instance the ray hit.