Hello!
Currently, respawning players from spectator mode is very buggy and can lead to some weird behaviour. I’m pretty sure epic are aware of this.
However, respawning spectators is as simple as calling Agent#Respawn(:vector3, :rotation) an example would be:
for:
Player : GetPlayspace().GetPlayers()
not Player.IsActive[]
do:
Player.Respawn(vector3{}, rotation{})
Hope this helps you!