Advertisement
dragnoz

Runaway Coach

Nov 13th, 2015
509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. /summon PigZombie ~ ~1 ~ {CustomName:"coach3",CustomNameVisible:1,Equipment:[{},{},{},{},{id:gold_ore,Count:1}],Attributes:[{Name:generic.movementSpeed,Base:0},{Name:generic.followRange,Base:0}],Silent:1}
  2.  
  3. /execute @a ~ ~ ~ scoreboard players set @e[name=coach3,rm=20,r=50] speed 0
  4. /execute @a ~ ~ ~ scoreboard players set @e[name=coach3,rm=10,r=15] speed 1
  5. /execute @a ~ ~ ~ scoreboard players set @e[name=coach3,rm=7,r=10] speed 2
  6. /execute @a ~ ~ ~ scoreboard players set @e[name=coach3,rm=5,r=7] speed 3
  7. /execute @a ~ ~ ~ scoreboard players set @e[name=coach3,rm=2,r=5] speed 4
  8.  
  9. execute @a ~ ~ ~ /entitydata @e[name=coach3,score_speed_min=0,score_speed=0] {Motion:[0.0,0.0,0.3]}
  10. execute @a ~ ~ ~ /entitydata @e[name=coach3,score_speed_min=1,score_speed=1] {Motion:[0.0,0.0,1.0]}
  11. execute @a ~ ~ ~ /entitydata @e[name=coach3,score_speed_min=2,score_speed=2] {Motion:[0.0,0.0,2.0]}
  12. execute @a ~ ~ ~ /entitydata @e[name=coach3,score_speed_min=3,score_speed=3] {Motion:[0.0,0.0,3.0]}
  13. execute @a ~ ~ ~ /entitydata @e[name=coach3,score_speed_min=4,score_speed=4] {Motion:[0.0,0.0,4.0]}
  14.  
  15.  
  16. execute @e[name=Mright] ~ ~ ~ /entitydata @e[name=coach3,r=3] {Motion:[-0.3,0.0,2.0]}
  17. execute @e[name=Mleft] ~ ~ ~ /entitydata @e[name=coach3,r=3] {Motion:[0.3,0.0,2.0]}
  18. execute @e[name=Mup] ~ ~ ~ /entitydata @e[name=coach3,r=3] {Motion:[0.0,0.5,2.0]}
  19.  
  20. /summon ArmorStand ~ ~1 ~ {CustomName:"Mright",CustomNameVisible:1,Marker:1b}
  21. /summon ArmorStand ~ ~1 ~ {CustomName:"Mleft",CustomNameVisible:1,Marker:1b}
  22. /summon ArmorStand ~ ~1 ~ {CustomName:"Mup",CustomNameVisible:1,Marker:1b}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement