Kinda stuck on this. Trying to use the Command Bar to select all pointlights with the color "Really blue". Anything helps.
local Lights = {}
function getLights(root)
for i,v in pairs(root:GetChildren()) do
if v:IsA("PointLight") and v.Color3 == ("0, 0, 255") then
table.insert(Lights,v)
end
getLights(v)
end
end
getLights(workspace)
game.Selection:Set(Lights)
