Hi everybody,
Im new on the forum so the problem :
I have an AudioSource with DontDestroyOnLoad but i want this only on my menu and the music stay on the map scene.

So how can i Destroy the AudioSource when “Map01” is loaded ?
Sorry if i made mistakes i’m french.

Use this Script…

function Start(){
if( Application.loadedLevelName=="YourScene"){
   
   Destroy( YourGameObject ); 

}}

you Can also do it in function UpDate()