Is this a compound or complex sentence and tell me if it is cc or sc

If he goes to the park, he will most likely play freeze tag.

This sentence is a complex sentence. It contains a dependent clause "If he goes to the park" and an independent clause "he will most likely play freeze tag."