#pragma strict
import UnityEngine.SceneManagement ; //ignore
var maxFallDistance = -10 ; //ignore
var Ernst1 : AudioClip ; //Tried both AudioCLip and AudioSource
function Update ()
{
if (transform.position.y <= maxFallDistance) //ignore
{
GameMaster.currentScore = 0; //ignore
SceneManager.LoadScene(“banisch 1”) ; //ignore
Ernst1.Play(); //this little fucker. i get “play is not a member of Unityblabla.AudioClip” i’ve tried alot of different thigns but cant get it to work, i really have no idea
}
}