how would i make a mob have a different loot table when i kill it with a custom weapon?

if someone could help i would greatly apreciate it

Continue to help post