Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options:
- tag: &f[&c&lNinja-Craft&f]
- tag2: &cMroczny&9&lZombiak!
- command /zombie:
- trigger:
- if player has not permission "sk.zombie":
- if {oczek.zombie.%player%} is 0:
- spawn 1 zombie in front of player
- set name of last spawned entity to "{@tag} Boss!"
- set helmet of last spawned entity to diamond helmet of protection 6
- set chestplate of last spawned entity to diamond chestplate of protection 6
- set leggings of last spawned entity to diamond leggings of protection 6
- set boots of last spawned entity to diamond boots of protection 6
- set tool of the spawned zombie to a diamond sword of sharpness 2
- apply speed 5 to the last spawned entity for 1000 seconds
- apply invisibility 1 to the last spawned entity for 100 seconds
- set {oczek.zombie.%player%} to 10
- else:
- send "&7Musisz poczekac &2%{oczek.zombie.%player%}% &7minut!"
- else:
- spawn 1 zombie in front of player
- set name of last spawned entity to "{@tag} Boss!"
- set helmet of last spawned entity to diamond helmet of protection 6
- set chestplate of last spawned entity to diamond chestplate of protection 6
- set leggings of last spawned entity to diamond leggings of protection 6
- set boots of last spawned entity to diamond boots of protection 6
- set tool of the spawned zombie to a diamond sword of sharpness 2
- apply speed 5 to the last spawned entity for 1000 seconds
- apply invisibility 1 to the last spawned entity for 100 seconds
- every 1 minute:
- loop all players:
- if {oczek.zombie.%loop-player%} is greater than 0:
- remove 1 from {oczek.zombie.%loop-player%}
- #to nie jest potrzebne, tylko zabezpiecznie gdyby byl lag serwera
- if {oczek.zombie.%loop-player%} is -1:
- set {oczek.zombie.%loop-player%} to 0
Advertisement
Add Comment
Please, Sign In to add comment