Guest User

EVENTO NATALLLL

a guest
Dec 7th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. on death of a snow man:
  2. if {Mob.Vivo} is true:
  3. attacker is a player:
  4. broadcast " "
  5. broadcast "&f&lNATAL > &cO Player %player Ganhou o Evento !!!"
  6. broadcast " "
  7. make console execute command "/pex user %player% prefix &8&l[&f&lNatalino&8&l]"
  8. add 1000000 to the player's account
  9. set {Mob.Vivo} to false
  10. stop
  11.  
  12. command /setnatal:
  13. trigger:
  14. if player has the permission "set.natal":
  15. set {EventoNatal.Iniciou} to location of player
  16. send "&f&lNATAL > &cVocê Setou o Local Do Evento Iniciar"
  17. stop
  18.  
  19. command /nataliniciar:
  20. trigger:
  21. if player has the permission "set.natal":
  22. set {Natal.Iniciou} to true
  23. set {Mob.Vivo} to true
  24. send "&f&lNATAL > &cVocê Iniciou o Evento Natal!"
  25. broadcast " "
  26. broadcast "&f&lNATAL > &cO Evento Natal Esta Iniciando !!!"
  27. broadcast "&f&lNATAL > &cUse /natal Para Entrar no Evento !!!"
  28. broadcast " "
  29. wait 10 seconds
  30. broadcast " "
  31. broadcast "&f&lNATAL > &cO Evento Natal Esta Iniciando !!!"
  32. broadcast "&f&lNATAL > &cUse /natal Para Entrar no Evento !!!"
  33. broadcast " "
  34. wait 5 seconds
  35. broadcast " "
  36. broadcast "&f&lNATAL > &cO Evento Natal Esta Fechado !!!"
  37. broadcast " "
  38. set {Natal.Iniciou} to false
  39. wait 10 seconds
  40. loop
  41. broadcast " "
  42. broadcast "&f&lNATAL > &cSpawnando Mob!!!"
  43. broadcast " "
  44. spawn 1 zombie at {EventoNatal.Iniciou}
  45. set the name of the spawned snow man to "&f&lBoos - NATAL"
  46. stop
  47.  
  48. command /natal:
  49. trigger:
  50. if {Natal.Iniciou} is set:
  51. teleport player to {EventoNatal.Iniciou}
  52. send "&f&lNATAL > &cVocê Entro"
  53. stop
Add Comment
Please, Sign In to add comment