Jump to content

Dupe skript help


qulh1

Recommended Posts

is it possible for me to script it so players cant dupe a shulker box if there is a certain 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

 

Link to comment
Share on other sites

Hey there, to prevent people from duping shulkers you would need to block all shulker colors.

 

if player's held item is black shulker or green shulker or ect:
    #code

SkripterMan

Joined Minehut on 4/21/16
Owner of CareSMP.minehut.gg


VIP - 6/21/17
LEGEND - 18/12/20
MARKET MAKER - 5/6/21


Discord: SkripterMan#0001

Link to comment
Share on other sites

3 hours ago, SkripterMan said:

Hey there, to prevent people from duping shulkers you would need to block all shulker colors.

 

if player's held item is black shulker or green shulker or ect:
    #code

pretty sure you could do

if player's tool is any shulker box:

 

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