How do i make a brick material change during day and change again during the night loop
COMMUNITY QUESTION
How do i make a brick material change during day and change again during the night loop?
1 answer
Connect to the Changed() event and adjust the material of your part accordingly, like so:
game:GetService("Lighting").Changed:Connect(function()
-- if statements here and change part material as follows:
part.Material = "Neon";
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
maybe make a server script that has soemthing like this: if game.Lighting.TimeOfDay == 12:00 then part.Material = "Neon"