How do I trigger something if you get health or ammo?

I wanted to put a sound when you get health or ammo but I dont know how.

Thanks!

There is no hook like “on health changed” but you might add something to the ENT:Use function of entity that gives you health/armor.