Complex sentence: When annoyed, the worm uproots trees by coiling its tail around them, then creates devastation by waving around the uprooted trees like a club.
Split into simpler sentences: When annoyed, the worm would uproot trees by coiling its tail around them. It then created devastation by waving around the uprooted trees like a club.