Gather all ingredients.
Whisk together pudding mix and milk in a medium bowl for 2 minutes. Follow the package directions for the pudding. Allow to set for 5 minutes. Fold in the cool whip.
Add one tablespoon of crushed cookies into the bottom of the cups.
Top with a layer of pudding mixture. Repeat layers, alternating with the chocolate pudding until ending with cookie mixture. Refrigerate for at least 1 hour.
Add your shredded coconut to a container with a lid, and add a few drops of green food coloring and a touch of water. Shake until colored. Right before serving, add some colored shredded coconut on top. Top with candy pumpkins.