local function DamageTest(ent, inflictor, attacker, amount, dmginfo) if ent:IsPlayer() then print(tostring(dmginfo:GetDamage())) end end hook.Add("EntityTakeDamage", "EntityTakeDamageTest", DamageTest)