Hello, I'm a bit new to the world of command blocks. I was wondering if there is a way to:
1. Put a 'flag' or 'tag' on armor in such a way that while it is being worn a player gets a tag. For the execute command / repeating command blocks. ex: a special suit of armor that can only be spawned with commands.
2. Make the player do special things when they attack, sneak, etc. and hold a specific weapon or wear armor.
I managaged to almost recreate this old one command's "herobrine boots" which gave fire particles around the player and made mobs levitate up - but I had to assign it to a player with /scoreboard players tag @p add -----, but without being able to bind it to armor that's pointless for my specific build in mind.
So if someone understands how to make an armor set do special stuff I greatly appreciate the help.