Code I have so far:
local car = script.Parent
local path = script.Parent.Parent.Path
local Loop = true
local waiting_time = 1
Points = path:GetChildren()
while true do
for i = 1,#Points do
wait()
car:MoveTo(path:FindFirstChild("P"..i).Orientation)
wait(waiting_time)
end
if Loop == false then
script.Disabled = true
end
end
So when I have two values I need in one line, how do I write that? If I write only position, the orientation doesn't change, but the position goes to each point. If I write only orientation, the model goes really high off the ground and after a few seconds, comes back to the ground and then back into the sky.
What am I doing wrong?

4 comments
What happens if you try using the 'and' statement
"Argument 1 missing or nil"
Try using CFrame.
Wait, CFrame where?