Your dental habits are awful, but if you brush and floss every day, you probably won’t get cavities or gum disease.
The conjunction is 'technically' joining a conditional clause followed by a independent clause. "But" is being used as a contrast. Can the other conjunctions be used in this way with the conditional clauses? Any rules etc.