Guest User

Untitled

a guest
Mar 17th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. on spawn of skeleton, pig, zombie, cow, chicken, horse, iron golem, sheep, skeleton, spider or creeper:
  2. loop all entities in radius 8 around the spawned entity:
  3. send message "%{_g}%" to player
  4. add 1 to {_g}
  5. if {_g} is larger than 5:
  6. if chunk of spawned entity is chunk of loop-entity:
  7. cancel the event
Advertisement
Add Comment
Please, Sign In to add comment