Death Box

Discussion in 'Skript' started by theshow, Jul 5, 2021.

  1. hello
    I want to know how to put the player's items in the box where he died after he died.
    my world keepInventory is true

    sorry for my english is not very good
     
    #1 theshow, Jul 5, 2021
    Last edited: Jul 5, 2021
  2. Please use english.
     
    • Optimistic Optimistic x 1
  3. Sorry, i used english,but my my computer has auto translation
    it's my question
    hello
    I want to know how to put the player's items in the box where he died after he died.
    my world keepInventory is true

    sorry for my english is not very good
     
  4. Code (Text):
    set block at player to chest
    loop all items in player's inventory:
      add loop-item to inventory of block at player

    clear inventory of player
    not tested, but it should give you a hint
     
  5. thank you so much.
    i know how to do that!
     
  6. y como haces eso?? :l