Complex sentence: The townsfolk revolted against the human sacrifices, but they were defeated by a nocturnal invasion by the creatures, those of the inhabitants not killed agreed to join the cult and keep its secrets.
Split into simpler sentences: The townsfolk revolted against the human sacrifices, but they were defeated by a nocturnal invasion by the creatures. Those of the inhabitants not killed agreed to join the cult and keep its secrets.