What's a good script, that would allow zombies not to bump into walls while they chase you?
There's a neat technique called pathfinding, which is commonly used for Artificial Intelligence work. You can apply this simple technique named A* to help you out.
Here's a tutorial on LuaLearners on A*