If you download the full version of Age of Empires 2, the game comes with two pieces of 30-minute background music. You only need to open the game's options to play this. The specific operation is: option, and then increase the music volume in the picture.
If you want to add background music to the script you created, you need to first add the music file you want to play to the folder that triggers the event background music. This folder is The scenario folder in your installation directory (as shown in the picture, take mine as an example)
Then create a new trigger event in the map editor, and select "Play Sound" in the "Effect" column item (as shown in the figure), select the music file you added in the sound file.
Remember to set the initial player to "Player One"
In this way, you can create a script with background music~~
Hope it can help you
Happy gaming!