Using custom heads in gui

  • 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.
You can do this with Skstuff, to use any other head you just need to replace the Id and Texture Value in the code

code_language.skript:
set slot 0 of player's current inventory to player head with custom nbt "{display:{Name:""Twitter""},SkullOwner:{Id:""11fce6c7-71ad-464e-98e7-c8e579de4758"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzY4NWEwYmU3NDNlOTA2N2RlOTVjZDhjNmQxYmEyMWFiMjFkMzczNzFiM2Q1OTcyMTFiYjc1ZTQzMjc5In19fQ==""}]}}}" named "&3Twitter!"
 
You can do this with Skstuff, to use any other head you just need to replace the Id and Texture Value in the code

code_language.skript:
set slot 0 of player's current inventory to player head with custom nbt "{display:{Name:""Twitter""},SkullOwner:{Id:""11fce6c7-71ad-464e-98e7-c8e579de4758"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzY4NWEwYmU3NDNlOTA2N2RlOTVjZDhjNmQxYmEyMWFiMjFkMzczNzFiM2Q1OTcyMTFiYjc1ZTQzMjc5In19fQ==""}]}}}" named "&3Twitter!"
I'm trying to use this head (https://minecraft-heads.com/custom/heads/miscellaneous/3943-instagram) but I get this error,
code_language.skript:
[19:59:00 ERROR]: ':{Name:"Instagram"},SkullOwner:{Id:"acaae4ea-b8ee-45b6-b993-94d56a8e8a82",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWM4OGQ2MTYzZmFiZTdjNWU2MjQ1MGViMzdhMDc0ZTJlMmM4ODYxMWM5OTg1MzZkYmQ4NDI5ZmFhMDgxOTQ1MyJ9fX0="}]}}}" named "&3Your Instagram" with lore "&7Current:||&3%{instaurl.%{_p}%}%||||&eLeft click to change||&cRight click to remove"' is not a valid item data (socialmenu.sk, line 184: set slot 29 of player's current inventory to player head with custom nbt "{@InstagramNBT}" named "&3Your Instagram" with lore "&7Current:||&3%{instaurl.%{_p}%}%||||&eLeft click to change||&cRight click to remove"')
[19:59:00 ERROR]: ':{Name:"Instagram"},SkullOwner:{Id:"acaae4ea-b8ee-45b6-b993-94d56a8e8a82",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWM4OGQ2MTYzZmFiZTdjNWU2MjQ1MGViMzdhMDc0ZTJlMmM4ODYxMWM5OTg1MzZkYmQ4NDI5ZmFhMDgxOTQ1MyJ9fX0="}]}}}" named "&3Your Instagram" with lore "&7Current:||&cNone"' is not a valid item data (socialmenu.sk, line 186: set slot 29 of player's current inventory to player head with custom nbt "{@InstagramNBT}" named "&3Your Instagram" with lore "&7Current:||&cNone"')
 
set slot 0 of player's current inventory to skull of "Zi_Min" parsed as offline player named "test" with lore "test"

"Zi_Min" is an example u can change it
 
set slot 0 of player's current inventory to skull of "Zi_Min" parsed as offline player named "test" with lore "test"

"Zi_Min" is an example u can change it
I know how to use the skulls, but I'm having problems with the skull NBT. Read this post I made
I'm trying to use this head (https://minecraft-heads.com/custom/heads/miscellaneous/3943-instagram) but I get this error,
code_language.skript:
[19:59:00 ERROR]: ':{Name:"Instagram"},SkullOwner:{Id:"acaae4ea-b8ee-45b6-b993-94d56a8e8a82",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWM4OGQ2MTYzZmFiZTdjNWU2MjQ1MGViMzdhMDc0ZTJlMmM4ODYxMWM5OTg1MzZkYmQ4NDI5ZmFhMDgxOTQ1MyJ9fX0="}]}}}" named "&3Your Instagram" with lore "&7Current:||&3%{instaurl.%{_p}%}%||||&eLeft click to change||&cRight click to remove"' is not a valid item data (socialmenu.sk, line 184: set slot 29 of player's current inventory to player head with custom nbt "{@InstagramNBT}" named "&3Your Instagram" with lore "&7Current:||&3%{instaurl.%{_p}%}%||||&eLeft click to change||&cRight click to remove"')
[19:59:00 ERROR]: ':{Name:"Instagram"},SkullOwner:{Id:"acaae4ea-b8ee-45b6-b993-94d56a8e8a82",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYWM4OGQ2MTYzZmFiZTdjNWU2MjQ1MGViMzdhMDc0ZTJlMmM4ODYxMWM5OTg1MzZkYmQ4NDI5ZmFhMDgxOTQ1MyJ9fX0="}]}}}" named "&3Your Instagram" with lore "&7Current:||&cNone"' is not a valid item data (socialmenu.sk, line 186: set slot 29 of player's current inventory to player head with custom nbt "{@InstagramNBT}" named "&3Your Instagram" with lore "&7Current:||&cNone"')
 
Status
Not open for further replies.