Hello, im currently trying to work with cframes to make one part(Part1) follow another parts(part2)'s Position only on the X and Z axis and make it follow its rotation aswell
Video of Issue:
My code:
while task.wait() do
script.Parent.Parent.Part_.CFrame = script.Parent.Parent.Part_.CFrame:Lerp(
CFrame.new(script.Parent.Parent.Part.CFrame.X,0,script.Parent.Parent.Part.CFrame.Z),.15
)
end
Thanks in advanced