Need help with CFrame

I made a script to open a Cell door, but the door opens the wrong way, how would i fix this?
the door opens like this:
Screenshot 2022-07-20 105242
But i want it to open like this:
Screenshot 2022-07-20 105213
My script:

for i = 0, 6, 0.2 do
	wait()
	script.Parent.Door.PrimaryPart.CFrame = script.Parent.Door.PrimaryPart.CFrame * CFrame.new(0.12* (-i) ,0 ,0)
end		
wait(10)
for i = 0, 6, 0.2 do
	wait()
	script.Parent.Door.PrimaryPart.CFrame = script.Parent.Door.PrimaryPart.CFrame * CFrame.new(0.12* (i) ,0 ,0)
end		



Try having the CFrame.new(0.12* (-i) ,0 ,0) as CFrame.new(0,0,0.12* (-i))

You could try using the TweenService
It would make that much easier