local zombie = script.Parent
zombie.Touched:Connect(function(other)
local playerCharacter = other:IsA("Player") and (other.Character or other)
if playerCharacter and not playerCharacter:FindFirstChild("Infected") then
Instance.new("BoolValue", playerCharacter).Name = "Infected"
print(other.Name .. " заражен!")
end
end)