what im asking is if the npc is fighting, it wont hurt its npc friends, and how I do that is if seeing the name isnt from replicated storage. so if it isnt then it can/will attack

if other.Parent.Name ~= "Normal Noob" then
	local enemy = other.Parent						
	if enemy.Humanoid.WalkSpeed > 0 then
		enemy.Humanoid.Health = enemy.Humanoid.Health - configs["Damage"]
		canHit = false
	end
end