attack animation script

i am new to coding and i’m trying to swing a sword at an enemy with the mouse click can anyone point me in the right direction .

Hello. You should watch Jimmy Vegas’s Unity 5 for Beginners. He’s an amazing Unity tutor. Here’s the full playlist.

Other wise, you can watch the video where he makes his weapon here