I'm trying to make a realistic Door where it will open up then close. I have the script written out I just can't seem to get the Cframe configuration right?
if you put the script inside the door you can activate it when a person touches said door.
door = script.Parent function touch() for i = 1, 100 do door.CFrame = door.CFrame * CFrame.new(*Insert cords based on door position here*) wait() end end script.Parent.Touched:connect(touch)