public void OnClickRespawn() { BasePlayerCharacterEntity owningCharacter = BasePlayerCharacterController.OwningCharacter; if (owningCharacter != null) { owningCharacter.RequestRespawn(); } }