Solved How to set nbt to the player head?

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

    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!

An error occurs:
"Ilikebigbuttsand" is not a offline player
my script:
Code:
set {_head} to skull of "Ilikebigbuttsand"
set block at {_location} to {_head}
%player% means a variable which is an instance of player class. That means you need to pick an online player and replace %player% with that online player.

You can get a player depending on your event. Can you send me your full code?
 
нлайн-игрока и заменить %
%player% means a variable which is an instance of player class. That means you need to pick an online player and replace %player% with that online player.

You can get a player depending on your event. Can you send me your full code?
I've already figured it out! Thanks for your reply.
Code:
set {_p} to offlineplayer("Ilikebigbuttsand")
set {_head} to skull of {_p}
set block at {_location} to {_head}
 
  • Like
Reactions: The0Felon