This is something that many would Consider very simple and that it shouldn’t require much effort: There are a Couple of Sources you can look at, and a Video I provided of a Simple Respawn