Positioning part parallel to target's surface using Raycasts

or, in simple, how do i achieve this with code? (without using lookvectors) https://gyazo.com/008cc0d99a93bb95b5daf1f0b2cdb185