for i=0.1,script.Parent.Parent.Door.Size.y do script.Parent.Parent.Door.CFrame = script.Parent.Parent.Door.CFrame*CFrame.new(0,-1,0) wait() end
First of all, i would highly recommend you making variables for you code. Like local door = script.Parent.Parent.Door
Also, you can make the door close sections at a time and increase the wait. I would also recommend putting this into a function if you use it many times in your code