Custom heads in skript guis

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

EngineeredBuilds

New Member
Aug 8, 2023
7
0
1
23
I know how to put the head of the player that is opening it into the gui, but how do I put custom heads that will show for anyone?
 
Use SkBee's NBT compounds or SKull skript addon, find a custom head online, either get the NBT (if you're going to use SkBee) or the skull value (for SKull).

Expression for SkBee:
set {_head} to player head with nbt compound from "NBT"
Expression for SKull:
set {_head} to skull with value "value"
 
Use SkBee's NBT compounds or SKull skript addon, find a custom head online, either get the NBT (if you're going to use SkBee) or the skull value (for SKull).

Expression for SkBee:
set {_head} to player head with nbt compound from "NBT"
Expression for SKull:
set {_head} to skull with value "value"
How do I get the nbt?
 
How do I get the nbt?
Find the skull you want on custom heads website, for example am going to use minecraft-heads.com
Find:
Minecraft 1.16+ NEW!
Give-Code:
> Very long command.


Copy the command and paste it on a notepad or something, mine is /give @p minecraft:player_head{display:{Name:"{\"text\":\"Crate\"}"},SkullOwner:{Id:[I;-729457928,-1182315314,-1575284776,-589168341],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmQ3NTI1N2FmYTE5OTg2NGI5Y2MwZDI5MmU0ZDVmMmE2MGM4NjhiYWEzMTFmNThiOGM3NTY0Njk1ODA0Y2NkNCJ9fX0="}]}}} 1
The NBT is {display:{Name:"{\"text\":\"Crate\"}"},SkullOwner:{Id:[I;-729457928,-1182315314,-1575284776,-589168341],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmQ3NTI1N2FmYTE5OTg2NGI5Y2MwZDI5MmU0ZDVmMmE2MGM4NjhiYWEzMTFmNThiOGM3NTY0Njk1ODA0Y2NkNCJ9fX0="}]}}}
To use it in a Skript string, double all the quotations (").
 
Not sure if you still need it, but my Skript addon Skonic has an expression to get a head from just the value.