Advertisement
grantygames

Untitled

Sep 19th, 2015
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.06 KB | None | 0 0
  1. #-----------------------------#
  2. #-----Evento:Lua da Morte-----#
  3. #------Por: Metalflame12------#
  4. #------V1.0-----19/09/15------#
  5. #-----------------------------#
  6.  
  7.  
  8. options:
  9. #>>Quantiedade de dinheiro por monstro morto.
  10. money: 10
  11. vida.boss: 15
  12. vida: 10
  13.  
  14. variables:
  15. {ativado} = false
  16.  
  17. #>>Sistema de ligar o evento:
  18.  
  19. at 8pm in "world":
  20. #>>Mude a chance de acontecer a Lua da Morte.
  21. chance of 35%:
  22. set {ativado} to true
  23. broadcast "&6[&3LuaDaMorteM12&6]&cA Lua da Morte está chegando!"
  24. loop all players:
  25. wait 10 seconds
  26. set {_local.%loop-player%} to location 10 meters above the loop-player
  27. wait 3 seconds
  28. #>>Zumbi Boss:
  29. spawn 1 zombie at {_local.%loop-player%}
  30. set the name of the spawned zombie to "&c&lBoss"
  31. equip the spawned zombie with all diamond armor
  32. set the spawned zombie's maximum health to {@vida.boss}
  33. heal the spawned zombie by {@vida.boss} hearts
  34. #>>Zumbi normal da primeira leva:
  35. spawn 1 zombie at {_local.%loop-player%}
  36. set the name of the spawned zombie to "&c&lZumbi da Lua"
  37. set the spawned zombie's maximum health to {@vida}
  38. heal the spawned zombie by {@money} hearts
  39. #>>Zumbi normal da primeira leva:
  40. spawn 1 zombie at {_local.%loop-player%}
  41. set the name of the spawned zombie to "&c&lZumbi da Lua"
  42. set the spawned zombie's maximum health to {@vida}
  43. heal the spawned zombie by {@money} hearts
  44. #>>Zumbi normal da primeira leva:
  45. spawn 1 zombie at {_local.%loop-player%}
  46. set the name of the spawned zombie to "&c&lZumbi da Lua"
  47. set the spawned zombie's maximum health to {@vida}
  48. heal the spawned zombie by {@money} hearts
  49.  
  50. on death of a zombie:
  51. if {ativado} is true:
  52. attacker is a player:
  53. add {@money} to the attacker's account
  54. send "&6[&3LuaDaMorteM12&6]&cVocê ganhou {@money} por matar um Zumbi da Lua!" to attacker
  55. loop all players:
  56. set {_local.%loop-player%} to location 10 meters above the loop-player
  57. attacker is a player:
  58. wait 2 seconds
  59. spawn 1 zombie at {_local.%loop-player%}
  60. set the name of the spawned zombie to "&c&lZumbi da Lua"
  61. set the spawned zombie's maximum health to {@vida}
  62. heal the spawned zombie by {@money} hearts
  63. wait 0.5 seconds
  64. spawn 1 zombie at {_local.%loop-player%}
  65. set the name of the spawned zombie to "&c&lZumbi da Lua"
  66. set the spawned zombie's maximum health to {@vida}
  67. heal the spawned zombie by {@money} hearts
  68.  
  69. #>>Sistema de desligar o evento:
  70. at 10pm in "world":
  71. if {ativado} is true:
  72. broadcast "&6[&3LuaDaMorteM12&6]&cA Lua da Morte acabou!"
  73. set {ativado} to false
  74. wait 3 seconds
  75. loop all zombies:
  76. if display name of loop-entity is "&c&lZumbi da Lua":
  77. kill loop-zombie
  78. if display name of loop-entity is "&c&lBoss":
  79. kill loop-zombie
  80. stop
  81.  
  82. # NÃO MODIFIQUE A PARTIR DAQUI!
  83. # Se você modificar de qualquer maneira o(s) comando(s) abaixo, você estará permitindo que eu, Metalflame12 possa usar o nome do seu
  84. # Servidor de qualquer maneira ou forma, sendo para promover ou difamar o seu Servidor.
  85. # Bloquear, colocar permissão ou remover este comando também será considerado edição. (Trecho copiado descaradamente hehehe).
  86.  
  87. command /luadamorteM12:
  88. trigger:
  89. send "&6-------------------------"
  90. send "&6Evento automático &3Lua da Morte"
  91. send "&6Versão&3 1.0 19/09/15"
  92. send "&6Skript feito por: &3Metalflame12"
  93. send "&6Contato: &3renio14717@gmail.com"
  94. send "&6-------------------------"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement