Spectator mode don't work

Do you have any verse scripts that utilize the Agent.Respawn() function because that makes the user unable to be spectated