Jump to content

Drop certain items upon death.


Recommended Posts

6 minutes ago, ChaseIsVeryCool said:

Hey, I need some help. I am trying to make a skript where it will only drop certain items such as crate keys. So, how ever many the player has in the inventory thats how much they drop upon death but nothing else.

cancel drops
drop 1 tripwire hook named "&aKey" at location of victim

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - 5/8/2024

[MOD] 5/8/2024 - Present

 

Link to comment
Share on other sites

First, type “/gamerule keepInventory true”. Then make the following Skript;

on death:

  drop 1 (item) named “(item)” at location of death of player

>> On mobile, not tested!

  

— OMBS —

Hello. I am ombs, a chill server developer and FPS enthusiast.

Currently working on a server with a queue-style arena PVP.

Battle500 is my completed server. 
 

Have a great day!

 

Link to comment
Share on other sites

1 hour ago, ombs said:

First, type “/gamerule keepInventory true”. Then make the following Skript;

on death:

  drop 1 (item) named “(item)” at location of death of player

>> On mobile, not tested!

  

You want to use location of victim instead of location of death of player.

Main MC account: Gam3rBoi (VIP in MH)

Alt MC account: *Gam3rBoi2147

Farcade server owner

Skripter with 6+ months experience + time learning coding concepts

Message me through the forums if you need anything!

Link to comment
Share on other sites

2 hours ago, ombs said:

First, type “/gamerule keepInventory true”. Then make the following Skript;

on death:

  drop 1 (item) named “(item)” at location of death of player

>> On mobile, not tested!

  

or "cancel drops"...

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - 5/8/2024

[MOD] 5/8/2024 - Present

 

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...