The problem with the melee appears to be that they are using raycasting as if the melee attack was a projectile rather than using a hitbox on the melee weapon. What ends up happening is when you click melee it fires a ray from where the crosshair is, so if cross hair is just beside the zombie...