Is this right? (I added a sort of arrow-speed mechanic, and I simplified some of the code, if you want explanations you can ask me.)