Sentence 1: I was going to the court believing I could do this, only if I played my best tennis.

Sentence 2: "I was believing that I was confident I could do this, but only in the case I would play my best tennis.

From 0 to 5 (0="no meaning overlap" and 5="means the same thing"), how similar are the two sentences?
5