em making 2d pingpong game but i want when player score is equal to 5 then player declare winner and enemy declare loser... plz tell me a solution??

void OnCollisionEnter2D(Collision2D coll) {
if (coll.gameObject.tag == “top”) {
MenuManager.status = “Winner…!!”;
MultiplayerController.Instance.SendSimpleMessage(‘C’);
Application.LoadLevel(4);
}
if (coll.gameObject.tag == “bottom”) {
MenuManager.status = “Lose…!!”;
MultiplayerController.Instance.SendSimpleMessage(‘D’);
Application.LoadLevel(4);
}
if (coll.gameObject.tag == “player”)
{

            TowardsPlayer = 1;
        }
        if (coll.gameObject.tag == "enemy")
        {

            TowardsPlayer = -1;
        }

Add a score variable and increment it. When it equals 5, start the win/lose sequence.

int score = 0;

void OnCollisionEnter2D(Collision2D coll) {
    if (coll.gameObject.tag == "top") {
        score++;
        if (score == 5) {
            MenuManager.status = "Winner..!!";