Solved How to give a player skull with custom texture?

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

SandBoxer011

Member
Feb 9, 2024
10
1
3
Hi everyone, I scrolled through sevedral skript threads, but I found only help for player's skull (with player's nickname). But I need to give a skull with custom texture. Example Texture:

I hope you guys know how to do it, because I don't
 
Hello!

This is possible using SkBee's NBT feature.

Here's an example:


code_language.skript:
set {_nbt} to "{SkullOwner:{Id:[I;-1211027,5318,141349,-10636],Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTVlYjBiZDg1YWFkZGYwZDI5ZWQwODJlYWMwM2ZjYWRlNDNkMGVlODAzYjBlODE2MmFkZDI4YTYzNzlmYjU0ZSJ9fX0=""}]}}}"
set {_item} to player skull
give player {_item} with nbt from "%{_nbt}%"