Stick (atm) fight please help!

heya guys i havent been on for a while so erm ill make it simple me and a mate are maken this huge game (huge to us tiny to you lol) but im stuck on this bit of move ment basicly i want it so one moves with “left” and “right” and hits with “up” and the other (red) moves with “a” and “d” and hits with “w”