execute @e[name=ClickOnBarman,type=villager,score_WalkingAnimation_min=1] ~ ~ ~ scoreboard players add @e[name=Marc,type=armor_stand] WalkingAnimation 1

#-Animation-#
entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=1,score_WalkingAnimation=1] {Pose:{LeftLeg:[5f,0f,0f],RightLeg:[355f,0f,0f],LeftArm:[355f,0f,340f],RightArm:[5f,0f,20f]}}
entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=2,score_WalkingAnimation=2] {Pose:{LeftLeg:[10f,0f,0f],RightLeg:[350f,0f,0f],LeftArm:[350f,0f,340f],RightArm:[10f,0f,20f]}}
entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=3,score_WalkingAnimation=3] {Pose:{LeftLeg:[15f,0f,0f],RightLeg:[345f,0f,0f],LeftArm:[345f,0f,340f],RightArm:[15f,0f,20f]}}
entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=4,score_WalkingAnimation=4] {Pose:{LeftLeg:[20f,0f,0f],RightLeg:[340f,0f,0f],LeftArm:[340f,0f,340f],RightArm:[20f,0f,20f]}}
entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=5,score_WalkingAnimation=5] {Pose:{LeftLeg:[25f,0f,0f],RightLeg:[335f,0f,0f],LeftArm:[335f,0f,340f],RightArm:[25f,0f,20f]}}

entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=6,score_WalkingAnimation=6] {Pose:{LeftLeg:[30f,0f,0f],RightLeg:[330f,0f,0f],LeftArm:[330f,0f,340f],RightArm:[30f,0f,20f]}}

entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=7,score_WalkingAnimation=7] {Pose:{LeftLeg:[25f,0f,0f],RightLeg:[335f,0f,0f],LeftArm:[335f,0f,340f],RightArm:[25f,0f,20f]}}
entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=8,score_WalkingAnimation=8] {Pose:{LeftLeg:[20f,0f,0f],RightLeg:[340f,0f,0f],LeftArm:[340f,0f,340f],RightArm:[20f,0f,20f]}}
entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=9,score_WalkingAnimation=9] {Pose:{LeftLeg:[15f,0f,0f],RightLeg:[345f,0f,0f],LeftArm:[345f,0f,340f],RightArm:[15f,0f,20f]}}
entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=10,score_WalkingAnimation=10] {Pose:{LeftLeg:[10f,0f,0f],RightLeg:[350f,0f,0f],LeftArm:[350f,0f,340f],RightArm:[10f,0f,20f]}}
entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=11,score_WalkingAnimation=11] {Pose:{LeftLeg:[5f,0f,0f],RightLeg:[355f,0f,0f],LeftArm:[355f,0f,340f],RightArm:[5f,0f,20f]}}

entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=12,score_WalkingAnimation=12] {Pose:{LeftLeg:[0f,0f,0f],RightLeg:[0f,0f,0f],LeftArm:[0f,0f,340f],RightArm:[0f,0f,20f]}}

entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=13,score_WalkingAnimation=13] {Pose:{LeftLeg:[-5f,0f,0f],RightLeg:[-355f,0f,0f],LeftArm:[-355f,0f,340f],RightArm:[-5f,0f,20f]}}
entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=14,score_WalkingAnimation=14] {Pose:{LeftLeg:[-10f,0f,0f],RightLeg:[-350f,0f,0f],LeftArm:[-350f,0f,340f],RightArm:[-10f,0f,20f]}}
entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=15,score_WalkingAnimation=15] {Pose:{LeftLeg:[-15f,0f,0f],RightLeg:[-345f,0f,0f],LeftArm:[-345f,0f,340f],RightArm:[-15f,0f,20f]}}
entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=16,score_WalkingAnimation=16] {Pose:{LeftLeg:[-20f,0f,0f],RightLeg:[-340f,0f,0f],LeftArm:[-340f,0f,340f],RightArm:[-20f,0f,20f]}}
entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=17,score_WalkingAnimation=17] {Pose:{LeftLeg:[-25f,0f,0f],RightLeg:[-335f,0f,0f],LeftArm:[-335f,0f,340f],RightArm:[-25f,0f,20f]}}

entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=18,score_WalkingAnimation=18] {Pose:{LeftLeg:[-30f,0f,0f],RightLeg:[-330f,0f,0f],LeftArm:[-330f,0f,340f],RightArm:[-30f,0f,20f]}}

entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=19,score_WalkingAnimation=19] {Pose:{LeftLeg:[-25f,0f,0f],RightLeg:[-335f,0f,0f],LeftArm:[-335f,0f,340f],RightArm:[-25f,0f,20f]}}
entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=20,score_WalkingAnimation=20] {Pose:{LeftLeg:[-20f,0f,0f],RightLeg:[-340f,0f,0f],LeftArm:[-340f,0f,340f],RightArm:[-20f,0f,20f]}}
entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=21,score_WalkingAnimation=21] {Pose:{LeftLeg:[-15f,0f,0f],RightLeg:[-345f,0f,0f],LeftArm:[-345f,0f,340f],RightArm:[-15f,0f,20f]}}
entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=22,score_WalkingAnimation=22] {Pose:{LeftLeg:[-10f,0f,0f],RightLeg:[-350f,0f,0f],LeftArm:[-350f,0f,340f],RightArm:[-10f,0f,20f]}}
entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=23,score_WalkingAnimation=23] {Pose:{LeftLeg:[-5f,0f,0f],RightLeg:[-355f,0f,0f],LeftArm:[-355f,0f,340f],RightArm:[-5f,0f,20f]}}

entitydata @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=24,score_WalkingAnimation=24] {Pose:{LeftLeg:[0f,0f,0f],RightLeg:[0f,0f,0f],LeftArm:[0f,0f,340f],RightArm:[0f,0f,20f]}}

execute @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=24] ~ ~ ~ scoreboard players remove @e[name=ClickOnBarman,type=villager] WalkingAnimation 1
scoreboard players set @e[name=Marc,type=armor_stand,score_WalkingAnimation_min=24] WalkingAnimation 0