LM317 regulating voltage but no current!

I should have avoided details about the motor because they digress from the immediate problem: Why is the circuit regulating voltage but killing the current? I'm using a 240 ohm resistor and 5k pot.