Script that keeps objects through scenes

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
 
public class DDOnLoad : MonoBehaviour
{
    private void Awake()
    {
        DontDestroyOnLoad(this.gameObject);
    }
}
 
```