random game over music plugin?

so let's say i have a pool of 12 audio files, okay? and i'd like to have one chosen randomly to play for the game over screen.
is there any plugin/script that allows such a thing?

I've moved this thread to Script Requests. Thank you.

Moved to: Script Requests
thank you actually! i genuinely forgot!
* * * removed, use code below * * *
is there a way to make a sound have a very rare chance of playing?
is there a way to make a sound have a very rare chance of playing?
probably... i'll try to code it tomorrow, but no promises.
do you need many files to have a rare chance at appearing, or just one?
probably... i'll try to code it tomorrow, but no promises.
do you need many files to have a rare chance at appearing, or just one?
just one

you can say thanks now 😛
thank you a lot!

Original thread: https://forums.rpgmakerweb.com/threads/random-game-over-music-plugin.129020/