Game.lighting properties resetting even when changed from server

So a game I work for uses a day/night cycle system, in this system, it will change the properties of lighting to be appropriate to the time of day. For example, if it’s night the brightness is set to 0. The issue is when a player respawns it resets to the default lighting settings which we don’t want, the properties are set from the server how could I fix this?
https://gyazo.com/019d53076a8d548b30904c7be017976e

1 Like

Does the day/night cycle have a CharacterAdded or PlayerAdded event inside of it?

No, its and nothing else in-game except this script changes it.