Complex sentence: As soon as a bet was agreed upon, the player attempted the stunt; if successful, the contestant won the money.
Split into simpler sentences: As soon as a bet was agreed upon, the player attempted the stunt. If successful, the contestant won the money.