Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-----------------------------#
- #-----Evento:Lua da Morte-----#
- #------Por: Metalflame12------#
- #------V1.0-----19/09/15------#
- #-----------------------------#
- options:
- #>>Quantiedade de dinheiro por monstro morto.
- money: 10
- vida.boss: 15
- vida: 10
- variables:
- {ativado} = false
- #>>Sistema de ligar o evento:
- at 8pm in "world":
- #>>Mude a chance de acontecer a Lua da Morte.
- chance of 35%:
- set {ativado} to true
- broadcast "&6[&3LuaDaMorteM12&6]&cA Lua da Morte está chegando!"
- loop all players:
- wait 10 seconds
- set {_local.%loop-player%} to location 10 meters above the loop-player
- wait 3 seconds
- #>>Zumbi Boss:
- spawn 1 zombie at {_local.%loop-player%}
- set the name of the spawned zombie to "&c&lBoss"
- equip the spawned zombie with all diamond armor
- set the spawned zombie's maximum health to {@vida.boss}
- heal the spawned zombie by {@vida.boss} hearts
- #>>Zumbi normal da primeira leva:
- spawn 1 zombie at {_local.%loop-player%}
- set the name of the spawned zombie to "&c&lZumbi da Lua"
- set the spawned zombie's maximum health to {@vida}
- heal the spawned zombie by {@money} hearts
- #>>Zumbi normal da primeira leva:
- spawn 1 zombie at {_local.%loop-player%}
- set the name of the spawned zombie to "&c&lZumbi da Lua"
- set the spawned zombie's maximum health to {@vida}
- heal the spawned zombie by {@money} hearts
- #>>Zumbi normal da primeira leva:
- spawn 1 zombie at {_local.%loop-player%}
- set the name of the spawned zombie to "&c&lZumbi da Lua"
- set the spawned zombie's maximum health to {@vida}
- heal the spawned zombie by {@money} hearts
- on death of a zombie:
- if {ativado} is true:
- attacker is a player:
- add {@money} to the attacker's account
- send "&6[&3LuaDaMorteM12&6]&cVocê ganhou {@money} por matar um Zumbi da Lua!" to attacker
- loop all players:
- set {_local.%loop-player%} to location 10 meters above the loop-player
- attacker is a player:
- wait 2 seconds
- spawn 1 zombie at {_local.%loop-player%}
- set the name of the spawned zombie to "&c&lZumbi da Lua"
- set the spawned zombie's maximum health to {@vida}
- heal the spawned zombie by {@money} hearts
- wait 0.5 seconds
- spawn 1 zombie at {_local.%loop-player%}
- set the name of the spawned zombie to "&c&lZumbi da Lua"
- set the spawned zombie's maximum health to {@vida}
- heal the spawned zombie by {@money} hearts
- #>>Sistema de desligar o evento:
- at 10pm in "world":
- if {ativado} is true:
- broadcast "&6[&3LuaDaMorteM12&6]&cA Lua da Morte acabou!"
- set {ativado} to false
- wait 3 seconds
- loop all zombies:
- if display name of loop-entity is "&c&lZumbi da Lua":
- kill loop-zombie
- if display name of loop-entity is "&c&lBoss":
- kill loop-zombie
- stop
- # NÃO MODIFIQUE A PARTIR DAQUI!
- # Se você modificar de qualquer maneira o(s) comando(s) abaixo, você estará permitindo que eu, Metalflame12 possa usar o nome do seu
- # Servidor de qualquer maneira ou forma, sendo para promover ou difamar o seu Servidor.
- # Bloquear, colocar permissão ou remover este comando também será considerado edição. (Trecho copiado descaradamente hehehe).
- command /luadamorteM12:
- trigger:
- send "&6-------------------------"
- send "&6Evento automático &3Lua da Morte"
- send "&6Versão&3 1.0 19/09/15"
- send "&6Skript feito por: &3Metalflame12"
- send "&6Contato: &3renio14717@gmail.com"
- send "&6-------------------------"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement