Players respawning

How do i change it so that players can no longer respawn when they die?

Place a lifecycle device. Set it to “player knocked out.” Connect it to a team switcher device. Set it to “specific team” and it should be set to spectator by default.

Il try it thank you so much