I'm having a bit of a dilemna right now because I can't figure out how to fix this script.
Found a tutorial and so far everything works but Ican't fight. The minute my character hits something the error message shows up and it just stops the test. I tried battling earlier and it worked fine, I believe that was before I put in this script
This is the script it showed me, I haven't tried scripting yet so I'm at a loss for what's wrong


Found a tutorial and so far everything works but Ican't fight. The minute my character hits something the error message shows up and it just stops the test. I tried battling earlier and it worked fine, I believe that was before I put in this script
This is the script it showed me, I haven't tried scripting yet so I'm at a loss for what's wrong

