Once you have the prop make it damagable and add a property(name it whatever you want but just so you know I named it Bed ok?) and set it to a number as its type. Next connect the “bed” to a trigger with a wire and put Prop destroyed ----> trigger. Once you got that go towards the blocks section in the trigger and press when triggered… and put these blocks:
Next add a KO manager device to check for when a player is knocked out and wire it to a checker. Once wired set the wire like this: Target knocked out —> run check. Now for the settings of the checker; set them like so:
Now wire it to a respawn player device and set up the wire like so: Check passes —> respawn player. Finally wire the Checker to a team switcher device and set the wire like so: Check fails —> switch team to configured team(which is the specators team).