Complex sentence: For most of the episode, Kracko appeared as a storm cloud that shot lightning throughout Cappytown, but when Kirby flew inside it, Kracko shot electric sword beams at Kirby, giving him the sword ability.
Split into simpler sentences: For most of the episode, Kracko appeared as a storm cloud that shot lightning throughout Cappytown. But when Kirby flew inside it, Kracko shot electric sword beams at Kirby, giving him the sword ability.