I have a few shield scripts that match that description, one of them makes the eweapons disappear when they touch it and the other one pushes the weapon away from the character only depending on which direction they are moving.