Ok. I see the problem and I understand what you want to achieve, but my question is about, how are you trying to achieve it? Did you turn off Replicate Movement in your character and you are handling it yourself by code? A screenshot of your code would really help me understand this better.