How do I select a spawn location and kill the player who pressed the button to spawn at the chosen spawn location?
One way, you can use a class selector with respawn on, use its change class function with the button event and match the selectors class slot to the spawnpads class filter.