How do I make it so that when a prop is destroyed, it stops the respawn pad from spawning the player again?

could this guide (not mine) be helpful?