So this is a piece of code I have, It makes a model look in the direction fo something, but what if I only wanted to change the Y value and not the X and Z? I'm using .lookAt and it fills in all the values (XYZ), but I only want to use the Y and keep the X and Z the same.
script.Parent.PrimaryPart = script.Parent:FindFirstChildWhichIsA("Part") script.Parent:SetPrimaryPartCFrame(CFrame.lookAt(script.Parent.PrimaryPart.CFrame.Position, closest.Position))
