I am trying to make a combat script for a game im working on, but I get a message saying Invalid animation id ‘<error: null id>’: when i try to punch. I am fairly new to coding on Lua and so I used a tutorial for this and added my own animations(using Moon Animator)“screenshot of script below”
I looked all over the forum but couldn’t find anything about the problem. Am I doing something wrong?