qulh1 Posted October 10, 2021 Share Posted October 10, 2021 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 More sharing options...
SkripterMan Posted October 10, 2021 Share Posted October 10, 2021 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 SkripterManJoined Minehut on 4/21/16 Owner of CareSMP.minehut.ggVIP - 6/21/17LEGEND - 18/12/20MARKET MAKER - 5/6/21Discord: SkripterMan#0001 Link to comment Share on other sites More sharing options...
Zoytax Posted October 10, 2021 Share Posted October 10, 2021 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 More sharing options...
SkripterMan Posted October 11, 2021 Share Posted October 11, 2021 6 hours ago, Zoytax said: if player's tool is any shulker box: Really? Wish I knew this a long time ago SkripterManJoined Minehut on 4/21/16 Owner of CareSMP.minehut.ggVIP - 6/21/17LEGEND - 18/12/20MARKET MAKER - 5/6/21Discord: SkripterMan#0001 Link to comment Share on other sites More sharing options...
Frecklestainer Posted October 11, 2021 Share Posted October 11, 2021 1 hour ago, SkripterMan said: Really? Wish I knew this a long time ago works for most items any wool, any sword, any leather chestplate Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now