Load a score from one scene to another scene

Hello, I have a score manager script that is attached to my score text in my hierarchy.
In my first scene the score works fine by killing enemies. how to i send the score from the first scene to the second scene to continue to increase my score. i tried DontDestroyOnLoad but didn’t work. How do i use it to update my score.

here is my score script.

using UnityEngine;
using UnityEngine.UI;
using System.Collections;

public class ScoreManager : MonoBehaviour
{
public static int score;

Text text;

void Awake ()
{
    text = GetComponent <Text> ();
    score = 0;
}

void Update ()
{
    text.text = "Score: " + score;
}

}

This should help you, Unity - Scripting API: PlayerPrefs you can use the player prefs to save the score and then make a script to load it when you load the next scene.