Cant switch someone out of spectator team

I want it so when someone dies they switch to spectator and then after 5 seconds return to a regular team
I have it set up: Lifecycle (player knocked out) / > team switcher (spectate)
[lifecycle goes to both these lines] \ > wire repeater (5 sec) > team switcher (team 1)

I believe you don’t need a wire repeater. You only need a lifecycle and a team switcher.

As far as I know, you can’t switch someone out of spectators.

You can’t switch someone out of the spectator team. Instead, you can teleport them to a small room (life cycle [player knocked out] → teleporter {event occurs → teleport here} then connect the life cycle to a wire repeater that teleports them back to the arena.