local function applyHighlight(item) if item:IsA("Humanoid") then local highlight = Instance.new("Highlight") local parent = item.Parent if parent then local plr = game.Players:GetPlayerFromCharacter(parent) if not plr then highlight.Parent = parent end end end end for _, item in pairs(workspace:GetDescendants()) do applyHighlight(item) end workspace.DescendantAdded:Connect(applyHighlight)