I was wondering if I could get some help with this light script, I was wanting to set the range from 17:50 to 6:20 but i know the “getminutesaftermidnight” probably prevents that… is there any way to change that? Any help is appreciated!
Window = script.Parent
TimeOfDay = game.Lighting.TimeOfDay
if game:GetService(“Lighting”):GetMinutesAfterMidnight() >= 7 * 60 then
Window.BrickColor = BrickColor.new(“Smoky grey”)
Window.Material = Enum.Material.Glass
Window.BrickColor = BrickColor.new(“Linen”)
Window.Material = Enum.Material.Neon