Adding noise meter

Hey,
so I’m making a horror space demo, wanting to add a noise meter so if the player makes loud footprints or doing a puzzle then the game would end (No physical enemy)
so for example:
player fixing wires, Makes a noise, noise meter goes up hits the end of the bar and loud jumpscare noise then player dies.

I need to set up footsteps and puzzle noises and assign a value but i just wonder about connecting that to a death screen if reaches too high

would love some help setting up the noises for footsteps and puzzles

thanks for reading