You could try testing what armor you have and when you become invisible give you a resistance effect with the same armor protection but there is a problem with this too because you need to give a different resistance effect and that's even anoying. And the armor could have enchantments.
I made what you asked here is the map. (Btw there is a lot of other stuff in the map you can just ignore or destroy it if you want.)
I Like it, but is it possible when a right click on an item, i turn invissible, and when i right click again, i turn visible? if so, could u please make a command or one command block creation with it, i am willing to pay if you want, but i hope thanks is enough.
I LOVE IT! but now i need it in my friends realm. and my mcedit doesnt work... do you know how you could make a one command block creation like these: . could you possibly make one of these with using this: http://mrgarretto.com/cmdcombiner .
Hope u can do it! i would really appreciate it!