spawn a villager with the inventory of player

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

    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.

sagp15

Member
Jun 16, 2017
22
1
0
How can I do when a player goes out a villager places that when he dies you of all its inventory?
 
code_language.skript:
on right click:
    if event-item is a villager:
        create chest with 6 rows named "&cVillager" to event-player
        format slot 1 of player with emerald named "&aEmerald ( ͡° ͜ʖ ͡°)" with lore "&5Lore of Emerald ( ͡° ͜ʖ ͡°)" to close then run [make player execute command "command here"]

I think ...
 
Yes, but when the villager dies than his items of player
 
Status
Not open for further replies.