Removed Debug line
{
int randomIdle = Random.Range(0, 2);
animator.SetInteger("RandomIdle", randomIdle);
Debug.Log("Random");
}