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

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Dupe skript help

Discussion in 'Skript' started by qulh1, Oct 10, 2021.

  1. qulh1

    qulh1 Member

    Joined:
    Oct 10, 2021
    Messages:
    1
    Likes Received:
    0
    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
     
  2. oToghty

    VIP Supporter +

    Joined:
    Sep 1, 2020
    Messages:
    142
    Likes Received:
    5
    use skbee nbt, if nbt of tool contains "your item"
     

Share This Page

Loading...