currently I have a skript for showing the health of an entity in it's name but it shows for items and I don't know how to fix it
loop all entities:
if loop-entity is not an item:
set name of loop-entity to "&7Test &4%health of loop-entity%&7/&4%max health of loop-entity%❤"
show the custom name of loop-entity
else:
hide the custom name of loop-entity```