To disable the Weapon Attack you need to disable the action via DisableControlAction
DisableControlAction
For the weapon damage you need to use something like this: