Complex sentence: This gets them sentenced to detention on a platform forever until an Eagle "saves" them and they escape.
Split into simpler sentences: This gets them sentenced to detention on a platform forever. However, an Eagle "saves" them and they escape.