Hi!
I am very new to the lighting category when it comes to ROBLOX and I wanted to figure out on setting different lighting so that it looks good for day and night as well. Is that a current feature or can I code it manually?
Never found anything in YouTube.
Let me know your suggestions.
Thank you!
if game.Lighting.TimeOfDay = 18 then
—Turn lights on
End
Do you mean the lighting Properties?
You could use @DevBoardQuestions’s script addition and instead of --Turn lights on
you could change the Lighting Properties through the Script, although a sudden change would probably be noticeable, so you may want to Tween | Roblox Creator Documentation them.
Oh no no no, I get that already but I mean like another set of lighting for night time specifically as there are two specific lightings.
If I sound confusing, what I mean is that script currently just turns my lights on or off but I want to create specific degrees of lighting for night time.
Oh okay, I will try tweening the lighting but it might create a sudden lag spike so not sure.