Getting a direction using HRP.CFrame.LookVector

Do you want to get the angle, or the WorldSpace of the LookVector direction?

If you want to get the angle, I suggest you look at this post I’ve made covering this exact function: How would I make this NPC look at me while walking? - #9 by edozune

If you wanted to just convert their LookVector into WorldSpace orientation, then you would use the HRP.CFrame’s function called “VectorToWorldSpace” to turn their forward direction into a global rotated vector.

HRP.CFrame:VectorToWorldSpace(HRP.CFrame.LookVector)

Hopefully this helps, and good luck on your project. (Consider marking this post as a solution to help others who might be looking for the same answer.)

3 Likes