Complex sentence: Failing to save his friends himself, Bender orders Robot 1-X to save the crew while still seeming like a hero and when it succeeds, he accepts the new robot.
Split into simpler sentences: Failing to save his friends himself, Bender orders Robot 1-X to save the crew. This allows Bender to seem like a hero and, when the plan succeeds, he accepts the new robot.