Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local doorleft = script.Parent:WaitForChild("DoorLeft")
- local doorright = script.Parent:WaitForChild("DoorRight")
- while true do
- wait(5)
- for i = 1,17 do
- doorleft.Position = doorleft.Position - Vector3.new(0,0,0.2)
- doorright.Position = doorright.Position + Vector3.new(0,0,0.2)
- wait()
- end
- wait(3)
- for i = 1,17 do
- doorleft.Position = doorleft.Position + Vector3.new(0,0,0.2)
- doorright.Position = doorright.Position - Vector3.new(0,0,0.2)
- wait()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement