3oNwClqs
Język: Skript
|
Autor: Damianekk
options: item: diamond item command /kox-zombie: permission: kox.zombie trigger: add 1 of {@item} named "&eSpawn: &2&lKOX ZOMBIE" to player's inventory on right click: if player's tool is {@item} named "&eSpawn: &2&lKOX ZOMBIE": remove 1 of {@item} named "&eSpawn: &2&lKOX ZOMBIE" from player's inventory set {_loc} to location of player spawn a zobie at {_loc} set the last spawned entity's max health to 100 heal last spawned entity set the spawned zombie's display name to "&4&lKOX ZOMBIE" set the helmet of spawned zombie to a diamond helmet set the chestplate of spawned zombie to a diamond chestplate set the leggings of spawned zombie to a diamond leggings set the boots of spawned zombie to a diamond boots