Assign variable to DontDestroyOnLoad Script?

Okay. I’m really bad explaining this type of stuff, so I’m going to do my best. I’m trying to make sort of a subtitle option, and I’m using a DontDestroyOnLoad code for it. Basically, in the menu, this code is being used…

var subOff : GameObject;
var subEng : GameObject;
var subSpan : GameObject;
var subOffNumb : float;
var subEngNumb : float;
var subSpanNumb : float;
var subOffTrigger : GameObject;
var subEngTrigger : GameObject;
var subSpanTrigger : GameObject;

function Start () {
   
    subOffTrigger = GameObject.FindWithTag ("Sub Off Trigger");
    subEngTrigger = GameObject.FindWithTag ("Sub Eng Trigger");
    subSpanTrigger = GameObject.FindWithTag ("Sub Span Trigger");

}

function Update () {
   
    if(subOffTrigger != null)
    if(subEngTrigger == null)
    if(subSpanTrigger == null)
    {
        subOffNumb = 1;
        subEngNumb = 0;
        subSpanNumb = 0;
    }

    if(subOffTrigger == null)
    if(subEngTrigger != null)
    if(subSpanTrigger == null)
    {
        subOffNumb = 0;
        subEngNumb = 1;
        subSpanNumb = 0;
    }

    if(subOffTrigger == null)
    if(subEngTrigger == null)
    if(subSpanTrigger != null)
    {
        subOffNumb = 0;
        subEngNumb = 0;
        subSpanNumb = 1;
    }

    if(subOffNumb == 1)
    {
        subOff.SetActive(true);
        subEng.SetActive(false);
        subSpan.SetActive(false);
    }

    if(subEngNumb == 1)
    {
        subOff.SetActive(false);
        subEng.SetActive(true);
        subSpan.SetActive(false);
    }

    if(subSpanNumb == 1)
    {
        subOff.SetActive(false);
        subEng.SetActive(false);
        subSpan.SetActive(true);
    }

}

function Awake () {
    DontDestroyOnLoad (transform.gameObject);
}

But here’s the issue. The variables subOffTrigger, subEngTrigger, and subSpanTrigger aren’t in the DontDestroyOnLoad space, but instead are in a standard scene. They won’t assign to the variables when I hit play (they’re the only GameObjects given this specific tag, so I feel like they should just assign automatically). Can anyone help with this? I can elaborate more if needed. I realize the code looks like junk, but I’m just kind of experimenting with a few methods right now. Thank you to anyone who can help.

Ahhh, i hate Javascript… Use C#!
First of all, all this madness is not necessary

if(subOffTrigger != null)
    if(subEngTrigger == null)
    if(subSpanTrigger == null)

Use this

if(subOffTrigger != null && subEngTrigger == null && subSpanTrigger == null)

Or better, this

if(subOffTrigger && !subEngTrigger && !subSpanTrigger)

Second, use two scrips, one in the scene, and one with the DontDestroy method,
assign the variables in the first, and in the second use this:

If (secondScript == null)
//search it
secondScript.object = "stuff";