execute @a[tag=InPig] ~ ~-1 ~ scoreboard players add @e[type=armor_stand,c=1,name=ArmorPigRun,r=1] PigRun 1
execute @a[tag=InPig] ~ ~ ~ tp @e[c=1,name=ArmorPigRun,score_PigRun_min=1,score_PigRun=1,r=3] -86 ~ 102
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=1,score_PigRun=1] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] -86 ~ 102
execute @a[tag=InPig] ~ ~ ~ tp @e[c=1,name=ArmorPigRun,score_PigRun_min=2,score_PigRun=2,r=3] ~-0.5 ~ ~
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=2,score_PigRun=2,r=3] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~-0.5 ~ ~
execute @a[tag=InPig] ~ ~ ~ tp @e[c=1,name=ArmorPigRun,score_PigRun_min=3,score_PigRun=25,r=3] ~ ~ ~-0.3
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=3,score_PigRun=25,r=3] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~ ~ ~-0.3
execute @a[tag=InPig] ~ ~ ~ tp @e[c=1,name=ArmorPigRun,score_PigRun_min=26,score_PigRun=30,r=3] ~ ~-0.2 ~-0.3
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=26,score_PigRun=30,r=3] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~ ~-0.2 ~-0.3
execute @a[tag=InPig] ~ ~ ~ tp @e[c=1,name=ArmorPigRun,score_PigRun_min=31,score_PigRun=35,r=3] ~-0.15 ~ ~-0.3
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=31,score_PigRun=35,r=3] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~-0.15 ~ ~-0.3
execute @a[tag=InPig] ~ ~ ~ tp @e[c=1,name=ArmorPigRun,score_PigRun_min=36,score_PigRun=40,r=3] ~-0.25 ~ ~-0.25
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=36,score_PigRun=40,r=3] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~-0.25 ~ ~-0.25
execute @a[tag=InPig] ~ ~ ~ tp @e[c=1,name=ArmorPigRun,score_PigRun_min=41,score_PigRun=57,r=3] ~-0.35 ~ ~-0.08
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=41,score_PigRun=57,r=3] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~-0.35 ~ ~-0.08
execute @a[tag=InPig] ~ ~ ~ tp @e[c=1,name=ArmorPigRun,score_PigRun_min=58,score_PigRun=62,r=3] ~-0.3 ~ ~-0.2
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=58,score_PigRun=62,r=3] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~-0.3 ~ ~-0.2
execute @a[tag=InPig] ~ ~ ~ tp @e[c=1,name=ArmorPigRun,score_PigRun_min=63,score_PigRun=98,r=3] ~ ~ ~-0.3
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=63,score_PigRun=98,r=3] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~ ~ ~-0.3
execute @a[tag=InPig] ~ ~ ~ tp @e[c=1,name=ArmorPigRun,score_PigRun_min=99,score_PigRun=108,r=3] ~-0.15 ~ ~-0.15
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=99,score_PigRun=108,r=3] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~-0.15 ~ ~-0.15
execute @a[tag=InPig] ~ ~ ~ tp @e[c=1,name=ArmorPigRun,score_PigRun_min=109,score_PigRun=133,r=3] ~-0.3 ~ ~-0.05
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=109,score_PigRun=133,r=3] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~-0.3 ~ ~-0.05
execute @a[tag=InPig] ~ ~ ~ tp @e[c=1,name=ArmorPigRun,score_PigRun_min=134,score_PigRun=173,r=3] ~-0.3 ~ ~-0.13
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=134,score_PigRun=173,r=3] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~-0.3 ~ ~-0.13
execute @a[tag=InPig] ~ ~ ~ tp @e[c=1,name=ArmorPigRun,score_PigRun_min=174,score_PigRun=193,r=3] ~-0.3 ~ ~
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=174,score_PigRun=193,r=3] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~-0.3 ~ ~
execute @a[tag=InPig] ~ ~ ~ tp @e[c=1,name=ArmorPigRun,score_PigRun_min=194,score_PigRun=233,r=3] ~-0.3 ~ ~0.15
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=194,score_PigRun=233,r=3] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~-0.3 ~ ~0.15


execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=50,score_PigRun=50] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~ ~ ~ 135 ~
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=60,score_PigRun=60] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~ ~ ~ 110 ~
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=75,score_PigRun=75] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~ ~ ~ 140 ~
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=85,score_PigRun=85] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~ ~ ~ 180 ~
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=115,score_PigRun=115] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~ ~ ~ 135 ~
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=125,score_PigRun=125] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~ ~ ~ 100 ~
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=190,score_PigRun=190] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~ ~ ~ 90 ~
execute @a[tag=InPig] ~ ~ ~ execute @e[c=1,name=ArmorPigRun,score_PigRun_min=210,score_PigRun=210] ~ ~ ~ tp @e[type=Pig,tag=FollowerPigRun,c=1] ~ ~ ~ 60 ~