Or instead you could have the enemyCreate function and add each enemy into a table, then you could just do:
for i = 1, #enemyTable do enemyTable[i]:removeSelf() --or you could add physics, movement, etc. end
In fact, here is a sample of something I worked on to get you started, I will add the file below.
The error on line 120 in enemy.lua appears to be this problem: for some reason inimigo is nil. This could be because you have them in a function, but you never called the function. Try adding local inimigo1, 2, 3, 4, etc. at the top of your enemy.lua file, and see if it works.
Here is the sample: (hope it helps)