World position and angles swep

Hey, what I’m after is a simple swep that when you shoot it at a prop/entitie it gives you the x, y, z coordinates as well as what angle it is on.

If anyone can help me with this that would be excellent.

Thankyou