Disable Avatar Mask

I need to disable avatar mask through script or through anything because I have animatons of the character on a layer and the sword animations in another layer that has a mask… I need to disable that layer or that mask, I don’t know exactly but the sword attack animations must play correctly and they don’t.