How to set custom skull to GUI? my code:
set slot 30 of {_menu} to player head with nbt "{SkullOwner:{Id:[I;1431745196,628508261,-1575314543,1244679121],Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjkyZDk0YTVlZmNhOTRmODczOTk3M2I0NGEwMWJiYmRmNGEyYzBlMDVkYmI0NWU5NzM0MjA3NmM5NTBiNzNhNyJ9fX0=""}]}}}"
but it says: a slot can't be set to 'player head with nbt "{SkullOwner:{Id:...' because the latter is neither an item type nor an item stack
[doublepost=1669211104,1669131482][/doublepost]I have found another solution
set {customhead} to tool of {_p}
Just take the custom head and run the command to save the item in {customhead} to set the slot
set slot 30 of {_menu} to player head with nbt "{SkullOwner:{Id:[I;1431745196,628508261,-1575314543,1244679121],Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjkyZDk0YTVlZmNhOTRmODczOTk3M2I0NGEwMWJiYmRmNGEyYzBlMDVkYmI0NWU5NzM0MjA3NmM5NTBiNzNhNyJ9fX0=""}]}}}"
but it says: a slot can't be set to 'player head with nbt "{SkullOwner:{Id:...' because the latter is neither an item type nor an item stack
[doublepost=1669211104,1669131482][/doublepost]I have found another solution
set {customhead} to tool of {_p}
Just take the custom head and run the command to save the item in {customhead} to set the slot