Animating a pendulum and cuckoo clock

Start by opening an image of a cuckoo clock.

Select the pendulum using lasso tool. Press Ctrl+Shift+J to cut paste the selection in a new layer.
Duplicate the layer twice and rotate in opposite directions by a few degrees.

Duplicate both the rotated pendulum layers. From filter menu select blur>>motion blur. Apply settings as shown.
Select the door of the clock using lasso tool. Press Ctrl+Shift+J to cut paste the selection in a new layer.
Using clone stamp tool clone the door area from the original clock layer.

Select the door layers and duplicate. Squeeze both the doors horizontally.

Duplicate again and transform horizontally to close the door.
Hide all the door layers. Create selection of the cuckoo using lasso tool. Press Ctrl+Shift+J to cut paste the selection in a new layer.
Clone stamp the cuckoo area in original clock layer.
Duplicate the cuckoo layer twice. Scale down one of the layers and scale up the other.

 

Similarly create a selection of second hand of the clock. Press Ctrl+J to copy paste the selection in a new layer. Stamp the clock hand area in the original clock layer.
Select the clock hand layer. Double click the layer to open layer style window. Apply layer style with the settings shown.
Create three duplicates of the clock hand layer and rotate sequentially to make them reach 12.
Open animation window. For the first frame let the original clock hand and pendulum layers be visible. Make the closed door layers visible. Hide rest of the layers.
Duplicate frame. Hide the current pendulum layer. Unhide the one of the rotated pendulum layer.
Duplicate frame. Unhide the blurred pendulum layer.
Duplicate frame. Follow along the images to hide or unhide pendulum layers.

 

Select all the seven frames and duplicate thrice.
Select 8th, 16th, and 22nd frame and for each of the frame make the sequentially rotated clock hand layers visible.
For the 22nd frame keep the half open door layers visible. Make the small cuckoo layer visible.
Select 23rd frame. Make next position of door and cuckoo layers visible. Let the doors be completely open by making the respective door layers visible.
For 24th frame let the cuckoo be totally out of window.
Starting from 25th frame toggle the big and medium size cuckoo layers between alternate frames.
Press Ctrl+Alt+Shift+S to save an optimized animated GIF.