When a coordinating conjunction connects two independent clauses, it is often (but not always) accompanied by a comma. In this sentence, "but" is the coordinating conjunction. Remember FANBOYS: For-And-Nor-But-Or-Yet-So for a full list of coordinating conjunctions. Hope I helped!!!