I know Rook attacks can be alarming! Here's some advice if you've never encountered the Rook before and want to help:
1: Gather near the shrine.
2: Wait to revive the animals and plants until after the attack is over. If we can't defeat the Rook, it will just keep attacking them. It makes more sense to focus on defeating him, and then afterwards revive them.
3: Click on the orb when it appears over a glitch. (No more than 8 glitches can focus on the same orb, so make sure not to click if it's already at 8.)
4. When the arrow appears over the shrine that says, "Click here to donate, click on it and donate items to attack the Rook.