I need help with simple animation.,I need help with simple animation please

Hello guys,
I need help with simple animation, I can’t call this animation and it doesn’t play. Can somebody help me please ?,Hello,
I have a question. I need to play animation names Attack from animator but it doesn’t work. Can somebody help me please.
Thanks guys.

Are you sure that the name of the state in the animator controller is also called ‘Attack’?

animator = GetComponent();