target.PrimaryPart=target.HumanoidRootPart target:SetPrimaryPartCFrame( CFrame.new(pos,pos+target.HumanoidRootPart.CFrame.lookVector))
What is wrong with these lines of code that would give me this error message? (the title)
the error says your trying to add nil to a vector3 and the vector3 is
target.HumanoidRootPart.CFrame.lookVector
so it means pos does not exist