I’m currently working on a lerp and trying to figure out if I’m breaking this for loop correctly. Would this be correct? Im wanting to break the loop so I can start another loop.
local center = game.Workspace.Elevator.PrimaryPart
local lerp1 = game.Workspace.Lerp1
for i = 0, 1, 0.0001 do
wait()
center.CFrame = center.CFrame:Lerp(lerp1.CFrame, i)
if i == 1 then
break
end
end

2 comments
its correct
Looks fine to me, little confused on what you're trying to do, but the code would execute as its written.