Reload Active scene with waitforsecond

Hello!

So i was able to find everything connected to Loadscene with waitforseconds but the only thing i need, i wasnt able to. Here is my code: I would like reload the ACTIVE lvl but only after 1 seconds the collision.

public class ReloadLevel : MonoBehaviour
{
void OnTriggerEnter(Collider col)
{
if (col.CompareTag(“Player”))
{
SceneManager.LoadScene(SceneManager.GetActiveScene().name);
}
}
}

Would be a life saver. Thank you in advance!

Well found the way, if some might need it.:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class ReloadLevel : MonoBehaviour
{
void OnTriggerEnter(Collider col)
{
if (col.CompareTag(“Player”))
{
StartCoroutine(Loadafter1sec());
}
}

IEnumerator Loadafter1sec()
{
    yield return new WaitForSeconds(1);
    SceneManager.LoadScene(SceneManager.GetActiveScene().name);
}

}