command /dupe <int=1>::
trigger:
set {_tool} to player's tool
if {_tool} is air:
send "&8&lL1f3&c&lSee1 &8» &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 "trident":
send "&8&lL1f3&c&lSee1 &8» &aThis item is blacklisted." to player
stop
else:
if {_tool} is a trident or elytra:
send "&8&lL1f3&c&lSee1 &8» &aThis item is blacklisted." to player
stop
give (arg-int * item amount of player's tool) of player's tool to player
I don't know what addons these require or if they are needed but i use Skrayfall, skquery, skbee
If you have any questions or anything you want i could try and make the skript