void RpcOnDie() { if (ActiveHero != null) { ActiveHero.m_animator.SetTrigger("Die"); } if (isLocalPlayer) { MyInput.Lock(); GameStats._EndGameMenu.Enable(); } }