How to destroy an object when ohter object has specific roation values?

Hi,
does anybody know is it possible to destroy an object when the other object is rotated in some way? For example when i’m turning around a sword and its rotation is x=-100, y=70, z=70 a different object is destroyed?

Do not cross-post . This is not a physics question so your original post in the scripting forum is valid.