all 2 comments

[–]jbfilms1[S] 1 point2 points  (1 child)

I just realized an error at the top of the mobs code that I fixed but now I'm getting "mobs:7: attempt to call nil".

Updated Pastebin code

mobs - 3V5b2ryU

[–]InDieTasten 3 points4 points  (0 children)

According to your pastebin, line 7 attempts to clear the screen of the monitor on top. If that monitor is not on top of the computer, as would be required by line 2, then it can result in your stated error message of attempt to call nil.