Spawned entity is 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 comminuty!

    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!

Status
Not open for further replies.

nickgamezzzz

Member
Feb 10, 2019
1
0
0
33
help I try to create a WorldOfMineCraft plugin
but if I say I want to spawn a level 1 zombie and I want to give it the properties of level 1 that I can not really do

on spawn of a zombie:
if name or spawned entity is "& cZombs [Level 1]":
victim is zombie:
set name of the zombie to "& cZombs [Level 1]"
apply speed 1 to the zombie for 9999 minutes
apply fire resistance 2 to the zombie for 999 minutes
set the maximum health or zombie to 5
heal the zombie
set of chestplate or zombie to leather chestplate with name "& 6Zombs [Level 1]"
dye zombie's chestplate yellow

this: if name or spawned entity is "& cZombs [Level 1]": is wrong
was I supposed to do now?
 
Status
Not open for further replies.