Camera moving script not working?

So I have this part of my script and I want the camera to be moving forward but smoothly and slowly, how do I make this into that because this isn’t working how I was intending? (Flag my post I no longer want this)

for i=0, 200, .75 do

workspace.Camera.CoordinateFrame=CFrame.new(i*5, i+15, 0)

wait()

but after this how do I make it so it can go on?

1 Like

I would use Camera Interpolation instead of CFrame if you want it to be smoother and easier to code.

Im not using this post anymore because I do not know how to make it go on afterward.

You could see here: Camera | Documentation - Roblox Creator Hub
Camera.CoordinateFrame is been superseded by Camera.CFrame