(Need Help) How to make a Sword Moveset script?

Hey! How do I make it so when I press a key (for example “G”) the model and the animation i have made makes an attack? I already have a working sword that does damage and has its own slashing animation, but how would I go about making a script that lets me activate the model I have built and the animation I have, and then does damage to a humanoid?

Please help, I’m not a Lua scripter, and I don’t know anything about scripting and my scripting partner is absent, I really need this done soon.

Thanks, Joel.

You are not supposed to post it here
move this to #help-and-feedback:scripting-support

sorry first time posting a script question