I want the model to move forward go back to start then repeat forever but it won't move at all and there are no errors
workspace.Road.PrimaryPart = workspace.Road.Center
while true do
for i = 1,100 do
wait(0.01)
workspace.Road.SetPrimaryPartCFrame(CFrame.new(workspace.Road.PrimaryPart.Position + Vector3.new(0,0,1)))
end
wait(0.01)
for i = 1,1 do
wait(0.01)
workspace.Road.SetPrimaryPartCFrame(CFrame.new(workspace.Road.PrimaryPart.Position - Vector3.new(0,0,100)))
end
wait(0.01)
end

2 comments
Do they stay at the same position or you can't see them?
It stays in the same spot