i want to create a silent zombie, i did this, but its wrong

  • Welcome to skUnity!

    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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

GabiFur_BR

Member
Dec 22, 2024
1
0
1
every 10 seconds:
if {zombie.count} < 10:
set {_x} to a random integer between -5 and 20
set {_y} to -60
set {_z} to a random integer between -5 and 20
set {_location} to location({_x}, {_y}, {_z}, world "world")
spawn a zombie at {_location}
set AI of last spawned entity to false
set Silent of last spawned entity to false
set {_helmet} to netherite helmet
set helmet of last spawned entity to {_helmet}
set display name of last spawned entity to "Health: %max health of last spawned entity%"
add 1 to {zombie.count}