could anyone tell me what i have to do to so the player heads displays when i open the gui/inventory? because like it is now it will only display the correct skin when i click on it with the set gui-clicked-item. Im out of ideas i tried adding waits, change syntaxes, etc. the head will never have the right skin if the player is offline
the messing around with bungee uuid and stuff were also just attempts to display the head as soon as the inventory opens, didnt work tho. also delays didnt help, i always have to click the damn slot so the head updates
code_language.skript:
command /test <offline player>:
trigger:
create a gui with virtual chest with 3 rows:
set {_uui} to uuid of arg-1
set {_a} to bungee name of {_uui}
set {_s} to {_uui} parsed as offline player's skull
make gui slot 10 with {_s} named "&b%{_a}%":
add 1 to {public::%player%}
if {public::%player%} is odd:
set gui-clicked-item to compass
else:
set gui-clicked-item to {_s} named "&b%{_a}%"
open last created gui to player
the messing around with bungee uuid and stuff were also just attempts to display the head as soon as the inventory opens, didnt work tho. also delays didnt help, i always have to click the damn slot so the head updates
Last edited: