I want to add speed levels on swinging as upgrades, so I can't just make the blade too fast unfortunately, and when i switch it still looks kind of bad. And I feel that prohibiting the player to move while swinging would limit a lot in movement, especially if jumping and swinging and trying to control not to fall to your death.
I tried to follow your instructions and did everything except the last part. I am not that experience (or a coder) so I didn't know any good way to do it. I would appreciate a bit more help with the last part.
Also I just saw the reply from Gamecorp just now.
I tried both of the things that you mentioned and neither worked. When I disabled the first one, I could just infinitely swing even when it was swinging, so it was breaking the swing flow, and when i disabled the second one, the blade just stayed in the bottom and never went back to 0 so that it can create an infinite looping swing. Maybe I misunderstood what you said?
But I feel in general that what Bionic instructed can do the work if I do it correctly. So far when I change direction, the blade just stops there and it can loop after, so I just need to add to continue mirrored from the position it stopped.
Lastly, sorry if my post and replies are a bit confusing, English is my second language so it is harder to explain things, but I appreciate all the help from everyone :)