How do i make a player's head appear ina GUI Menu?
CODE:
CODE:
code_language.skript:
wait 2 tick
open chest with 1 row named "&nStats Menu" to player
play "ITEM_PICKUP" to player at volume 1.5
wait 1 tick
format gui slot 0 of player with 1 %arg-1%'s player head named "&e&n%arg-1%'s Stats" with lore "||&e★ &fCoins: &e%{Upgradepoints::%arg-1%}%||&e★ &fShards: &b%{HeroicUpgradePoints::%arg-1%}%||&e★ &fXP: &a%{XPupgradepoints::%arg-1%}%" to close
format gui slot 2 of player with 1 book named "&a&nPvp Stats" with lore "||&a★ &fKills: &a%{Kills.%arg-1%}%||&a★ &fDeaths: &a%{Deaths.%arg-1%}%" to close
format gui slot 3 of player with 1 book named "&6&nPerk Stats" with lore "||&6★ &fBerserk: &6%{Strength::%arg-1%}%&7/&e10||&6★ &fHealth: &6%{Health::%arg-1%}%&7/&e20||&6★ &fPoison: &6%{Poison::%arg-1%}%&7/&e30||&6★ &fSlowness: &6%{Slowness::%arg-1%}%&7/&e40||&6★ &fWither: &6%{Wither::%arg-1%}%&7/&e40||&6★ &fLightning: &6%{Lightning::%arg-1%}%&7/&e40" to close
format gui slot 4 of player with 1 book named "&d&nCosmetics Stats" with lore "||&d★ &eCommons: &f0||&d★ &eUncommons: &f0||&d★ &eRares: &f0||&d★ &eUltras: &f0||&d★ &eEpics: &f0||&d★ &eLegendaries: &f0||" to close