#how to make shulkers dupable but not with certain items inside

1 messages · Page 1 of 1 (latest)

blazing mantle
#

player's held item contains 5 bedrock

spring flax
blazing mantle
spring flax
blazing mantle
spring flax
blazing mantle
#

it was just a example not a copy paste

spring flax
#

oh mb

#
        send "error cannot dupe this"
        else:
        give player player's held item
        send "&2duped!" to player
        give player's held item to player``` this prob intented wrong too and im dumb but
blazing mantle
spring flax
blazing mantle
# spring flax
if player's held item contains 5 bedrock:
    send "error cannot dupe this"
else:
    give player player's held item
    send "&2duped!" to player
    give player's held item to player``` try that
spring flax
blazing mantle
#

okay send your full code

spring flax
#

its over the 2000 character limit😭

blazing mantle
#

YOUR CODE WITH THE DUPE THING NOT ALL YOUR SCRIPTS

spring flax
blazing mantle
#

ffs

spring flax
#
    trigger:
        if lore of player's held item contains "&7Rightclick to use":
            stop
        if name of player's held item is "&cHeart":
            stop
        if  "%type of player's held item%" contains "bundle":
            stop
        if "%type of player's held item%" contains "Mace":
            stop
        if "%type of player's held item%" contains "Tripwire Hook":
            stop
        if player's held item is enchanted with protection 5:
            stop
        if player's held item is enchanted with unbreaking 4:
            stop
        if player's held item is enchanted with blast protection 5:
            stop
        if player's held item is enchanted with protection 6:
            stop
        if player's held item is enchanted with unbreaking 5:
            stop
        if player's held item is enchanted with protection 7:
            stop
if player's held item contains 5 bedrock:
    send "error cannot dupe this"
else:
    send "&2duped!" to player
    give player player's held item```
blazing mantle
#

omg

#

just try this command /dupe: trigger: if player's held item contains 5 bedrock: send "error cannot dupe this" else: give player player's held item send "&2duped!" to player give player's held item to player

blazing mantle
#

bro wtf you doing wrong

#
    trigger:
        if player's held item contains 5 bedrock:
            send "error cannot dupe this"
        else:
            give player player's held item
            send "&2duped!" to player
            give player's held item to player``` try this
spring flax
blazing mantle
#

wdym doesn't work

#

it doesn't stop it?

spring flax
blazing mantle
#

oh hm

#

no idea then u could try checking docs

spring flax
rancid plank
#

bro this is terrible man

#

u dont need 2000 lines of code for ur dupe script dawg

#

2000 lines of if: stops oh my days

#

what i recommend is deleting ur entire code and starting it from scratch