So I am working on a magic effect for an amulet that makes me invisible and a few other enchantments when I wear it. However every time I go to attack something or just attack at nothing the invisible effect turns of. Can anyone help me with this? I am still new to this and trying different things to learn more.