Long time no see ^_^

Long time no post haha ran into some technical difficulty wit my pc so all my project was cancled. For now im starting over I manage to save very little of my work and only had my hero MC left. I manage to get my hero attacking but cant seem to put it in four directions. When I press the space bar the hero plays the swordup MC what i want is for each arrow pressed followed by the space bar, the hero should attack in that direction. Thanks