hook system style SNK

Hi … I would like to know a way to make a hook system like shingeki no kyojin. (in Phyton)
because I tried with the logical blocks and because of the linear speed does not work …ll.blend (489 KB)

Can you provide more info and maybe a video?

that when the player presses Q the left hook shoots, and with E the right hook. When the hook collides with a wall it hooks and retract. and that when one presses Shitf the person increases his speed.
something similar to the game attack on titan.
http://www.google.co.ve/url?q=https://m.youtube.com/watch%3Fv%3DwpafPG0ajQU&sa=U&ved=0ahUKEwjTuKLE_oXZAhVys1kKHUf_C4QQtwIICzAA&usg=AOvVaw2Xf5gNRn5vG3qL1tVNYjlk