I'm getting the error '65:attempted to call nil' even if the function in that line exists.
I already renamed the function and tried to move it, but I'm still getting the error.
Line 65 is the line with 'GetMid()'
Here's the part of the code that errors:
Spoiler
(For some reason it doesn't paste the indents. Look at the pastebin code. The part begins at line 63 and goes to line 88)
And if you need the full code: Pastebin












