CFrame.lookAt problem

I need my knife to look towards the rayHitPosition, and I can’t get it to work

i’ve tried a lot of stuff, this is where i stopped currently

local direction = knife.Handle.Position - rayHitPos

local knifeEndCFrame = CFrame.lookAt(rayHitPos, direction)

I thought the code above would make the knife go to the rayHit, and then look towards the player so i could just flip it with cframe.angles but it didn’t work as intended

https://gyazo.com/2d65477208c44e0d3a7d03e6d53c7ac5

To make the knife look towards the RayHitPosition, you would need to align it by using CFrame.Angles() or CFrame:ToWorldSpace().

how would i use CFrame:ToWorldSpace() with this?

I cannot help you fix your issue.