I'm trying to make a tube like the example in this thread, using a bezier curve and an empty to simulate the flow. Making a pumping tube

I want to accomplish this using an empty with the follow path constraint, but most of the time that I do it, it acts like the empty is in the world's center and won't move at all.
I keep trying to do this over and over, and sometimes it will do it briefly, most of the time it will glitch out. It seems completely random with no logic to it at all. I've even made a fresh blend file and it still doesn't work at is should. Does anybody know what is going on?

