Some feedback: instead of shooting whenever you press WASD, you should try to make it based on a timer (the cooldown of each shot) and shoot continuously whenever you hold down your shooting direction. Else you could spam WASD all at once and shoot in all 4 directions at how fast you can mash WASD.