Hello, when a player dies, I'm looking to place a fence and over that fence the player's head. I found for the fence, for cons for the player's head, I do not see how to do.
Questions:
Thank's in advance for helping me !
Questions:
- How to place the block on the barrier
- How to define the player's head instead of a basic head
code_language.skript:
on death:
set {_location} to victim's location
force victim to respawn
set {_x} to x coord of {_location}
set {_y} to y coord of {_location}
set {_y} to {_y} +1
set {_z} to z coord of {_location}
set {_location2} to location {_x}, {_y}, {_z} in world of victim
set block at {_location} to dark_oak_fence #That work
set block at {_location2} to player head #That doesn't work and how to define the player's head
Thank's in advance for helping me !