01 | brickRedA = game.Workspace:WaitForChild( "RED" ) |
02 | brickRedB = game.Workspace:WaitForChild( "RED2" ) |
03 | brickWhiteA = game.Workspace:WaitForChild( "WHITE" ) |
04 | brickWhiteB = game.Workspace:WaitForChild( "WHITE2" ) |
06 | game.Lighting.Changed:connect( function () |
07 | if game.Lighting.TimeOfDay > = "18:00:00" then |
08 | brickRedA.Material = "Neon" |
09 | brickRedB.Material = "Neon" |
10 | brickWhiteA.Material = "Neon" |
11 | brickWhiteB.Material = "Neon" |
13 | elseif game.Lighting.TimeOfDay < = "05:00:00" then |
14 | brickRedA.Material = "Concrete" |
15 | brickRedB.Material = "Concrete" |
16 | brickWhiteA.Material = "Concrete" |
17 | brickWhiteB.Material = "Concrete" |
You did spell white incorrectly, so that may be the issue. Also, I wasn't sure if you wanted neon at night so right now it's set to neon in the day time I believe. If it's not working then just reply and I'll see. I'm currently in school and have no access to ROBLOX so I cannot test things.