Knife point to mouse?

So I’m making an attack where you throw a knife and it goes to your mouse basically. So far, I’m trying to make it point to the mouse so it’s not just facing forward. The knife consists of 3 parts if that affects anything and those 3 parts are in a model.
Heres what I have so far:

local kunai = game.Lighting.KunaiKnife:Clone()
	local handle = kunai.Handle
	
	kunai.Parent = workspace
	kunai:SetPrimaryPartCFrame(root.CFrame)
	kunai:SetPrimaryPartCFrame(CFrame.lookAt(target))

However, this didn’t work at all so any help is appreciated, thanks!

1 Like

Maybe have a look at something like this post:

It’s an arm in the sample, but the code sample should help.

Kunai? Is this a team fortress 2 game I spy o.o

No its actually a naruto game XD

1 Like