(Help Please) How to load new level one count down time hits zero?

Hello, i am trying to do create a game, but I am trying to have a countdown timer that once it hits zero it will load the game over scene. I currently have the count down timer working perfectly, but I am a little bit confused on where to put the once the timer ends it will load the game over scene.

here is my script for the timer section

and then here is my code that is attached to the timer for my player controller

please help me in any way possible! I am so close to finishing my game but I have completely hit a near dead end. Thanks for any help in advance

You will need to declare var remainingTime outside of Update() in order to access it from another script.

You can keep it private and create a getter/setter, then set its new value after the player falls; Or, use a function created inside the TimeController class and call it:

public void function SubtractFromTimer(float time)
{
	remainingTime -= time;
}

As @OG23 mentioned, you can place a collider/trigger underneath the platform and when the player enters said collider, respawn the player and subtract from the remaining time.

Hope this helps!