[FIXED] How to add many elements to one tick function

I made it so that many more mobs are affected by lightning, but when I add more than one in the same .mcfunction file, it doesn't work. If there's only one however, it works just fine. How do I fix this?

Continue to help post