Attempt to index local 'self' (a number value)
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Party member
- Posts: 548
- Joined: Wed Oct 05, 2016 11:53 am
Re: Attempt to index local 'self' (a number value)
Yeah, that's what the error traceback is good for. It will give you the chain of function calls that led to the error, and often in errors like this it's simply the previous step. Like the error you posted signals that line 21 in your state/level.lua might be the source, because it's the last place before the error on line 9 in entities/score.lua occurs. Perhaps I could've specified that more clearly, but that's basically what I was hinting at.
Who is online
Users browsing this forum: Bing [Bot], Semrush [Bot] and 6 guests