I think I set everything up right, if the enemy touches you it sends you into a battle with an imp, but when the character attacks I get this error:

(i didnt want anyone seeing the stupid placeholder name sorry : 0)
Anyway- not sure what to do, it's a script problem but I havent done anything to the script besides add another which shouldn't interfere//i didnt mess with the given script at all.

(i didnt want anyone seeing the stupid placeholder name sorry : 0)
Anyway- not sure what to do, it's a script problem but I havent done anything to the script besides add another which shouldn't interfere//i didnt mess with the given script at all.
