string[]names={"H_L","H_R","H_T"};

void Attack()

{
System.Random rnd=new System.Random();
int index = rnd.Next(names.Length);
string name = names[index];
animator.SetTrigger(name);
}