cannot get that item again if its in your inventory im stumped and dont know what to do
if clicked entity is an item frame:
set {_item} to item in clicked entity
if {_item} is air:
stop
if player's inventory contains {_item}:
send "&cYou already have this item!" to player
else:
give {_item} to player
send "&aYou took &e%name of {_item}%&a!"```