Luna moth

While caterpillars often fall prey to insect parasitoids, adult forms are being hunted by nocturnal birds and bats.

An excerpt from the article 19 facts about Luna moth
Attacked caterpillars make clicking noises with their mandibles. They are also able to release distasteful fluids capable of fending off insects and even a small rodent.