function OnPlayerConnected(player) local does_it_only_affect_players_0_or_1 = 0 local amount = 1000 player:AddCallback(ON_DAMAGE_RECEIVED_PRE, function(_, damageinfo) local attacker = damageinfo.Attacker if attacker ~= nil and attacker:IsPlayer() and (string.find(attacker.m_iszClassIcon, "sentry_buster") or string.find(attacker.m_iszClassIcon, "sentry_buster_gry")) and player.m_bIsMiniBoss == 1 then if does_it_only_affect_players_0_or_1 == 1 and player:IsBot() then return true end damageinfo.Damage = amount end return true end) end