Solved How to make head go in chest as well when they die

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

Status
Not open for further replies.

PotteryTNT

Member
Jul 21, 2017
41
0
0
22
So there is this scenario in UHC called Grave robbers where when a player is killed a grave stone will spawn with that players name on it, which then we have to dig up the grave to get the head and players inventory.

But, the head doesn't drop in the chest and I can't figure out what to add to the skript to make the head drop into the chest. This is the code right now.
https://pastebin.com/bqex7TQ7
 
It
So there is this scenario in UHC called Grave robbers where when a player is killed a grave stone will spawn with that players name on it, which then we have to dig up the grave to get the head and players inventory.

But, the head doesn't drop in the chest and I can't figure out what to add to the skript to make the head drop into the chest. This is the code right now.
https://pastebin.com/bqex7TQ7
It's not tested but I think this should work:
code_language.skript:
    set {_chestloc} to block 1 meter north of {GR::loc::%victim%}
    add victim's skull to inventory of block at {_chestloc}
 
Status
Not open for further replies.