Player heads in GUI?

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

Status
Not open for further replies.

JustADev

Well-Known Member
Apr 8, 2017
379
9
18
How do i make a player's head appear ina GUI Menu?

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
 
code_language.skript:
("%arg-1%" parsed as offline player)'s skull
[doublepost=1501522838,1501522765][/doublepost]or maybe like yoshyz said you can just do arg-1's skull
 
Nope neither work
[doublepost=1501523022,1501522990][/doublepost]NVM It works yay :emoji_grinning: tysm
 
Status
Not open for further replies.