I wrote this script:
Door1 = game.Workspace.Structure.Door.Left Door2 = game.Workspace.Structure.Door.Right t = false function onTouch(hit) if t == false then t = true for i=1,20 do Door1.Lock3.CFrame = Door1.Lock3.CFrame + CFrame.new(0,1,0) Door2.Lock4.CFrame = Door2.Lock4.CFrame + CFrame.new(0,-1,0) wait() end wait(10) for i=1,20 do Door1.Lock3.CFrame = Door1.Lock3.CFrame - CFrame.new(0,1,0) Door2.Lock4.CFrame = Door2.Lock4.CFrame - CFrame.new(0,-1,0) wait() end t = false end end script.Parent.Touched:connect(onTouch)
Then appears this message: Lock 3 is not a valid member of Part.
Lock3 does not exist. That is your problem.
Can you please provide the full output error? Secondly, What are you trying to do?