I would say if you either make an attack roll or parry. Whispering the words "kill them" may have an offensive intent, but the rule is about movement, not intent.
In RMU, invisibility is also ended by casting a spell of type F or E. Those will often entail a resistance roll or attack roll, but not necessarily.