local path = workspace.World.AI local function applyHighlight(entity) if not entity:FindFirstChildWhichIsA("Highlight") then local highlight = Instance.new("Highlight") highlight.Name = "AI_Highlight" highlight.Parent = entity highlight.Adornee = entity end end for _, entity in ipairs(path:GetChildren()) do applyHighlight(entity) end path.ChildAdded:Connect(function(child) applyHighlight(child) end)