Solved How to set helmet to custom player head?

  • 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.

GlacialDew

Member
Apr 8, 2018
40
3
8
Norrland
Im coding custom bosses and I want to be able have something other than a steve head or helmet on their head.

code_language.skript:
#-----[Alchemist Boss & Minions]
on rightclick:
    if player is holding a enchanted book with name "&d&lAlchemist Summoner" with lore "||&7Summons the &d&nAlchemist Boss":
        if event-block is not air:
            spawn a zombie 1 above event-block
            send "&7[&6&lAA&7] The &6&lAlchemist &7Has Been Summoned!"
            set the name of the last spawned zombie to "&6&lAlchemist"
            set the helemt of the last spawned zombie to iron helmet
 
"set the helemt of the last spawned zombie to iron helmet" ther is a
Typing error
 
yeah... spell helmet correct in your line
"set the helemt of the last spawned zombie to iron helmet"
and it should work, so change it to
"set the helmet of the last spawned zombie to iron helmet"
 
yeah... spell helmet correct in your line
"set the helemt of the last spawned zombie to iron helmet"
and it should work, so change it to
"set the helmet of the last spawned zombie to iron helmet"
i needed to do this post better in the first place .-. my fault there. BUT I am aware that helmet is misspelled, my problem is trying
to put a custom player head in that slot rather than a helmet or default head.
 
code_language.skript:
set the helmet of the last spawned zombie to skull of (player's name here)
[doublepost=1528922202,1528922058][/doublepost]i lied, sorry do it like this

code_language.skript:
set the helmet of the last spawned zombie to skull of ("name of player here" parsed as player)
 
  • Like
Reactions: Zak_Not_Zach
code_language.skript:
set the helmet of the last spawned zombie to skull of (player's name here)
[doublepost=1528922202,1528922058][/doublepost]i lied, sorry do it like this

code_language.skript:
set the helmet of the last spawned zombie to skull of ("name of player here" parsed as player)
this is what happens when I do that

[16:36:38 ERROR]: a slot can't be set to 'skull of "Alchemist"' because the latter is neither an item type nor an item stack (UltimateAlchemyReloaded.sk, line 42: set the helmet of the last spawned zombie to skull of "Alchemist"')

alright didnt see the edit
 
this is what happens when I do that

[16:36:38 ERROR]: a slot can't be set to 'skull of "Alchemist"' because the latter is neither an item type nor an item stack (UltimateAlchemyReloaded.sk, line 42: set the helmet of the last spawned zombie to skull of "Alchemist"')

alright didnt see the edit
i posted already that i wrote it wrong, try the new one i posted
code_language.skript:
set the helmet of the last spawned zombie to skull of ("name of player here" parsed as player)
 
actually i did it wrong again

the player needs to be parsed as an offline player so do this

code_language.skript:
set the helmet of the last spawned zombie to skull of ("Alchemist" parsed as offline player)
 
Status
Not open for further replies.