Help me with a couple scripts, will give credit in credits with username/full name, Javascript or C# doesn't matter thank you.

first off i need an AI script that can take you to a certain scene if collided with the player also makes a jumpscare noise like a split second before and the AI has a pathfinding system that roams the house and cannot go through walls.
Second I need a time system that counts down from 5 minutes to zero and when it hits zero it takes you to a certain scene.
Third I need a main menu that you can open back up to the scene you left off on and a new game system.
Finally I need a script that makes it have a 1 in 256 chance of a certain scene popping up in the middle of an hour then crashes the game.

This isn’t the place where people write code for you. Instead we help people with problems in their script and such; look at the FAQ. The first script is pretty simple:

void OnCollisionEnter (Collision Colider)
	{
		if (Colider.gameObject.tag == "Player") {
			SceneManager.LoadScene("Town Outside");
		}
	}