function healonbuilding(_, activator, caller) if activator.m_iTeamNum == caller.m_iTeamNum then return end local particlelocation = activator:GetAbsOrigin() + Vector(0, 0, 150) if caller:IsObject() then activator:AddHealth(1000, 0) if activator.m_iHealth > 4200 then activator.m_iHealth = 4200 end util.ParticleEffect("healthgained_blu_giant", particlelocation, nil, activator) end end