Can Someone please help me with this? I dont know how to explain it well... so there is a print

(Let me know if the link is invisible)

(https://prnt.sc/tlekrn)

The SECOND Door Open/Close Script:

---OPEN

for i = 1, 23 do
		CDoor.Door1.CFrame = CFrame.new(CDoor.Door1.Position - Vector3.new(0, 0, 0.3))
	    CDoor.Door2.CFrame = CFrame.new(CDoor.Door2.Position + Vector3.new(0, 0, 0.3))
		wait()	
		end	


----CLOSE

for i = 1, 23 do
		CDoor.Door1.CFrame = CFrame.new(CDoor.Door1.Position + Vector3.new(0, 0, 0.3))
	    CDoor.Door2.CFrame = CFrame.new(CDoor.Door2.Position - Vector3.new(0, 0, 0.3))
		wait()
		end
		

6 comments

0

first the link doesnt work, and second, please tell us what isnt working so we can solve you problem.

0

The link is working for me, is a PRINT, without the ( )  https://prnt.sc/tlekrn.

0

ah ok

1

Why not use tweenservice? At least that way you can see your error more easily and it simplifies the math. https://developer.roblox.com/en-us/api-reference/class/TweenService

0

yeah ^

0

Got it, i didnt know about this Tween thing, thank you! :D