I've been working with making a custom combat system, and have had some issues with getting the weapons to point correctly.
I've tried making the physical tool a model (other than handle) and setting a primary part, then setting its CFrame to the calculated distance from the character, yet to no avail.
I'm not asking this to be made for me of course, I'd just love to know how I could generally accomplish coding this.
Thank you for reading, and I hope to find a solution!
EDIT: Current code:
mouse.Move:connect(function()
if mouse.Hit then
script.Parent.spear:SetPrimaryPartCFrame(CFrame.new(script.Parent.spear:GetPrimaryPartCFrame().p, mouse.Hit.p))
end
end)
(mouse is defined earlier in the script)

5 comments
I have tried line 6 in your provided code, however, to no avail. After looking anything up that I was slightly unsure of, I don't see why it wouldn't function. I feel that it might be in part to the weapon being welded by script/CFrame (OzzyPig's Handle Welding Plugin), but it's hard to say for sure.
Oh! It's a tool. I thought it was just a model in workspace.
Oh, heh, I probably should have directly stated that. Thank you for the answer, regardless!
I can try to fix my answer. Were you looking for the arm to point where the mouse is, or just the tool itself?
It's not really that important, I'd prefer both, but can assume that the code required would be very similar between the two.