Complex sentence: When all seems lost, an android working with the rebellion gets to the room and sacrifices himself to take out the tower; this stops the robot army and saves humanity.
Split into simpler sentences: When all seems lost, an android working with the rebellion gets to the room and sacrifices himself to take out the tower. This stops the robot army and saves humanity.