User talk:Warman 911

I'm trying to make an RPG game, but i cant figure out what variable I need to use or what command blocks i need to use to make my characters attack. I just wanna change the sprite to an attacking one, then make it do damage against an enemy when the object is near an enemy. If anyone could help me with this, i would appreciate it.