Jump to content

how do you make it so when you die you drop a item that wasnt in your inventory


Aabsss

Recommended Posts

2 minutes ago, Nercoticlol said:

on death:

if victim is a player:

drop diamond ore named "skript created" #or use the give syntax to give it directly to there inventory

make sure to indent too lazy on minehut comment textbox

 

 

how do you make it have enchants?

Link to comment
Share on other sites

Try this:

# Give The Player The Item

on death:
    give #(Item)# of #(Enchant Name)# #(Level)# to player


# Drop The Item
on death:
    if victim was player:
        drop #(Item)# of #(Enchant Name)# #(Level)# to player

I didn't test this, but it should work.

-Alex

Always Stay Cool No Matter What! 😎 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...