I tried doing this:
lightPart = game.Workspace.lights:GetChildren()
minutesAfterMidnight = 0
while true do
if game.Lighting:GetMinutesAfterMidnight() == 6 * 60 then
lightPart.Material = Enum.Material.Plastic
end
if game.Lighting:GetMinutesAfterMidnight() == 18 * 60 then
lightPart.Material = Enum.Material.Neon
end
wait(0.1)
end
But it didn't work. Help?

2 comments
thank you i figured it out :)
Lighting Charactors?