: Ensure your obby has a save system so players respawn at the current stage rather than the very beginning after picking a wrong door.
This script is placed inside the "wrong" door part to eliminate players on contact:
: A door that is either non-collidable (players can walk through it) or one that teleports the player to a safe spawn location on the other side.
: You can use a script to loop through pairs of doors and assign a "damage" attribute to one at random.
: A server-side script can randomly assign which door in a pair is "safe" and which is "deadly" at the start of each round to prevent players from simply memorizing the path. Basic Kill Script Example