local SUSPECT_NAME = "Suspect" local CIVILIAN_NAME = "Civilian" local function addOutline(model, fillColor) -- Prevent duplicates if model:FindFirstChild("OutlineHighlight") then return end local highlight = Instance.new("Highlight") highlight.Name = "OutlineHighlight" highlight.FillColor = fillColor highlight.OutlineColor = Color3.fromRGB(255, 255, 255) highlight.FillTransparency = 0.5 highlight.OutlineTransparency = 0 highlight.Parent = model end local function processModel(obj) if not obj:IsA("Model") then return end if obj.Name == SUSPECT_NAME then addOutline(obj, Color3.fromRGB(255, 0, 0)) -- Red elseif obj.Name == CIVILIAN_NAME then addOutline(obj, Color3.fromRGB(0, 255, 0)) -- Green end end -- Apply to existing models for _, obj in ipairs(workspace:GetDescendants()) do processModel(obj) end -- Apply to models added later workspace.DescendantAdded:Connect(function(obj) processModel(obj) end)