Jump to content

I need help with my dupe skript


asssaerfsaf

Recommended Posts

Hey so, i need to make a dupe skript but it shows 2 errors. Heres my skript and the error. command /dupe:
  trigger:
    set {_tool} to player's tool
    if {_tool} is air:
      send "&aYou cannot dupe air!" to player
      stop
    else:
      if "%{_tool}%" contains "shulker box":
        set {_tag} to tag "tag;BlockEntityTag;Items" of nbt compound of {_tool} 
        if "%{_tag}%" contains "elytra" or "dragon egg" or "dragon head" or "smithing template" or "netherite ingot":
          send "&aThis item is blacklisted." to player
          stop
      else if
      {_tool} is a elytra or dragon egg or dragon head or smithing template or netherite ingot:
      send "&aThis item is blacklisted." to player
      stop
    give player's tool to playerimage.png.7d14eff4741615ec83fb0fff478b811b.png

Link to comment
Share on other sites

  • 7 months later...

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