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 player