Made the attack scripts better and added a targeting system.