local zombies = workspace.All_Zombies local cg = game:GetService('CoreGui') local red = Color3.new(1,0,0) local bigger = Vector3.new(0.5,0.5,0.5) local green = Color3.new(0,1,0) zombies.DescendantAdded:Connect(function(v) if v:IsA('Model') and v.Parent.Name == 'Zombies' then wait(2) for _,j in v:GetChildren() do if j:IsA('Part') and j.Name ~= 'HumanoidRootPart' and j.Name ~= 'Head' then local a = Instance.new("BoxHandleAdornment", cg) a.Adornee = j a.AlwaysOnTop = true a.Transparency = 0 a.Size = j.Size a.ZIndex = 1 local b = Instance.new("BoxHandleAdornment", cg) b.Adornee = j b.AlwaysOnTop = false b.ZIndex = 10 b.Color3 = red b.Transparency = 0 b.Size = j.Size + bigger j.Parent.Zombie.Died:Connect(function() a:Destroy() b:Destroy() end) end end local a = Instance.new("BoxHandleAdornment", cg) a.Adornee = v.Head a.AlwaysOnTop = true a.Transparency = 0 a.Size = Vector3.new(v.Head.Size.X/2, v.Head.Size.Y-0.1, v.Head.Size.Z-0.1) a.Color3 = green a.ZIndex = 7 local b = Instance.new("BoxHandleAdornment", cg) b.Adornee = v.Head b.AlwaysOnTop = false b.ZIndex = 10 b.Color3 = red b.Transparency = 0 b.Size = Vector3.new(v.Head.Size.X/2, v.Head.Size.Y, v.Head.Size.Z) + bigger v.Zombie.Died:Connect(function() a:Destroy() b:Destroy() end) v.Zombie.DisplayName = v.Name v.Zombie.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.Subject v.Zombie.NameOcclusion = Enum.NameOcclusion.NoOcclusion v.Zombie.HealthDisplayDistance = math.huge v.Zombie.NameDisplayDistance = math.huge end end) for _,v in zombies:GetDescendants() do if v:IsA('Model') and v.Parent.Name == 'Zombies' and v.Zombie.Health > 0 then for _,j in v:GetChildren() do if j:IsA('Part') and j.Name ~= 'HumanoidRootPart' and j.Name ~= 'Head' then local a = Instance.new("BoxHandleAdornment", cg) a.Adornee = j a.AlwaysOnTop = true a.Transparency = 0 a.Size = j.Size a.ZIndex = 1 local b = Instance.new("BoxHandleAdornment", cg) b.Adornee = j b.AlwaysOnTop = false b.ZIndex = 10 b.Color3 = red b.Transparency = 0 b.Size = j.Size + bigger j.Parent.Zombie.Died:Connect(function() a:Destroy() b:Destroy() end) end end if v:FindFirstChild('Head') then local a = Instance.new("BoxHandleAdornment", cg) a.Adornee = v.Head a.AlwaysOnTop = true a.Transparency = 0 a.Size = Vector3.new(v.Head.Size.X/2, v.Head.Size.Y-0.1, v.Head.Size.Z-0.1) a.Color3 = green a.ZIndex = 7 local b = Instance.new("BoxHandleAdornment", cg) b.Adornee = v.Head b.AlwaysOnTop = false b.ZIndex = 10 b.Color3 = red b.Transparency = 0 b.Size = Vector3.new(v.Head.Size.X/2, v.Head.Size.Y, v.Head.Size.Z) + bigger v.Zombie.Died:Connect(function() a:Destroy() b:Destroy() end) end v.Zombie.DisplayName = v.Name v.Zombie.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.Subject v.Zombie.NameOcclusion = Enum.NameOcclusion.NoOcclusion v.Zombie.HealthDisplayDistance = math.huge v.Zombie.NameDisplayDistance = math.huge end end