Dupe skript help

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

qulh1

Member
Oct 10, 2021
1
0
1
23
can someone please make me a script so players cant /dupe a shulker box if there is a certain blacklisted item in there

my current script is this,


command /dupe:
trigger:
if player's held item is air:
send "no duping air"
if player's held item is red dye:
send "nice try buddy-o"
stop
if player's held item is dragon egg:
send "nice try buddy-o"
stop
if player's held item is Chorus Flower:
send "you may not dupe this item"
stop
if player's held item is Music Disc:
send "you may not dupe this item"
stop
if player's held item is Totem of undying:
send "you may not dupe this item"
stop
set {_item} to player's tool
give {_item} to player
send "&6&lDuplicated &e&l%player's tool%&6&l!" to player
 
can someone please make me a script so players cant /dupe a shulker box if there is a certain blacklisted item in there

my current script is this,


command /dupe:
trigger:
if player's held item is air:
send "no duping air"
if player's held item is red dye:
send "nice try buddy-o"
stop
if player's held item is dragon egg:
send "nice try buddy-o"
stop
if player's held item is Chorus Flower:
send "you may not dupe this item"
stop
if player's held item is Music Disc:
send "you may not dupe this item"
stop
if player's held item is Totem of undying:
send "you may not dupe this item"
stop
set {_item} to player's tool
give {_item} to player
send "&6&lDuplicated &e&l%player's tool%&6&l!" to player
use skbee nbt, if nbt of tool contains "your item"
 
Status
Not open for further replies.