Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
command /zombieexample:
permission: op
trigger:
spawn 1 zombie at plater
set the display name of the last spawned zombie to "&8[&71&8] &7Zombie &c%health of last spawned zombie%/%max health of last spawned zombie%"
equip last spawned zombie with a golden helmet
on damage:
attacker is a player
victim is a mob
if name of victim contains "] Zombie ":
set {_n} to name of victim
set {_s::*} to {_n} split at "Zombie "
set the display name of victim to "%{_s::1}%Zombie &c%health of victim%/%max health of victim%"