You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I want to make a knife throw, its simple and works as it should except for one thing, It doesnt look at the direction its supposed to go!
What is the issue? Include screenshots / videos if possible!
When the knife is thrown it doesnt face the direction the player is facing!
How could i possibly do this? Help is appreciated!
local plr = -- wherever player is in your script
local char = plr.Character or plr.CharacterAdded:Wait()
local knife = -- knife or wherever It's located
knife.lookVector = char.Head.lookVector
If It’s not a part,mesh part or union and It’s a model you can do
local knifechilds = knife:GetChildren()
for i,v in pairs(knifechilds) do
v.lookVector = char.head.lookVector
end
You might need to offset the orientation to make it so it changes with the humanoid root part.
For example, you might need to do something like (I made up the numbers by the way, you’re gonna need to experiment to try and figure out the correct numbers.)
local rootPart = HumanoidRootPart.Orientation
knife.PrimaryPart.Orientation = Vector3.new(rootPart.X+45, rootPart.Y-45, rootPart.Z+10)