local partb = script.Parent local parta = game.Workspace:WaitForChild("PartA") partb.CFrame = partb.CFrame + parta.CFrame.lookVector * 2
there arent any output errors yet the part doesnt move to the position i want, and i cant find a problem with this incredibly easy code
For translation, you use CFrame * CFrame
Also, lookVector is a Vector3 value. To move a CFrame by Vector3, you would do
CFrame * CFrame.new(Vector3)
partb.CFrame = partb.CFrame * CFrame.new(parta.CFrame.lookVector * 2)