I want to put custom heads on the gui but I do not know how and try this help plz
on rightclick holding head:
skullsSystem(player)
function skullsSystem(p: player):
open chest with 6 rows named "&7Skulls" to {_p}
wait 2 ticks
format slot 9 of {_p} with light blue glass named "&7" to be unstealable
format slot 10 of {_p} with light blue glass named "&7" to be unstealable
format slot 11 of {_p} with light blue glass named "&7" to be unstealable
format slot 12 of {_p} with light blue glass named "&7" to be unstealable
format slot 13 of {_p} with light blue glass named "&7" to be unstealable
format slot 14 of {_p} with light blue glass named "&7" to be unstealable
format slot 15 of {_p} with light blue glass named "&7" to be unstealable
format slot 16 of {_p} with light blue glass named "&7" to be unstealable
format slot 17 of {_p} with light blue glass named "&7" to be unstealable
set slot 2 of player's inventory to player head with custom nbt "{display:{Name:"Telephone"},SkullOwner:{Id:"771d5dce-a046-4f34-972e-d6ed5abe0e6a",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODI0NDJiYmY3MTcxYjVjYWZjYTIxN2M5YmE0NGNlMjc2NDcyMjVkZjc2Y2RhOTY4OWQ2MWE5ZjFjMGE1ZjE3NiJ9fX0="}]}}}"
on rightclick holding head:
skullsSystem(player)
function skullsSystem(p: player):
open chest with 6 rows named "&7Skulls" to {_p}
wait 2 ticks
format slot 9 of {_p} with light blue glass named "&7" to be unstealable
format slot 10 of {_p} with light blue glass named "&7" to be unstealable
format slot 11 of {_p} with light blue glass named "&7" to be unstealable
format slot 12 of {_p} with light blue glass named "&7" to be unstealable
format slot 13 of {_p} with light blue glass named "&7" to be unstealable
format slot 14 of {_p} with light blue glass named "&7" to be unstealable
format slot 15 of {_p} with light blue glass named "&7" to be unstealable
format slot 16 of {_p} with light blue glass named "&7" to be unstealable
format slot 17 of {_p} with light blue glass named "&7" to be unstealable
set slot 2 of player's inventory to player head with custom nbt "{display:{Name:"Telephone"},SkullOwner:{Id:"771d5dce-a046-4f34-972e-d6ed5abe0e6a",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODI0NDJiYmY3MTcxYjVjYWZjYTIxN2M5YmE0NGNlMjc2NDcyMjVkZjc2Y2RhOTY4OWQ2MWE5ZjFjMGE1ZjE3NiJ9fX0="}]}}}"