Hello, I've been like 3 hours and I can't do that works. I also want to know if it is safe to register the event in OnSpawn? Same as self:registerEvent('amplificationPotions')
function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin)
if...