#How to make day longer (or make it real time?)?

1 messages · Page 1 of 1 (latest)

tranquil sun
#

Hi, my question is, is there a way, that I could expand the duration of the day, to make it realistic, or to synchronize the day time in roblox with the one irl? Thanks!

static tulip
#

Go to ServerScriptService -> WeatherManager -> DaylightManager
And on line 112 you can modify the time change there

tranquil sun
#

Um, the script has only 98 lines 🤔

static tulip
#

You must not be on our version of the plugin or an outdated version

#

At the bottom somewhere should be a line that says
game.Lighting:SetMinutesAfterMidnight(game.Lighting:GetMinutesAfterMidnight() + .5)

#

Thats what you need to modify

tranquil sun
#

It's up to date btw

static tulip
#

https://github.com/Redon-Tech/Weather-Systems/blob/main/src/Workspace/WeatherSystem/WeatherScript/Systems/WeatherManager/DaylightManager.server.lua
This is the current script on the system, so I dont believe your plugin is the same version or someone formatted it/changed it

GitHub

This is the modified version of TwentyTwoPilots Weather Systems that actually works. - Weather-Systems/DaylightManager.server.lua at main · Redon-Tech/Weather-Systems

tranquil sun
#

ah, I have that line on 94

#

I have this one, so I suppose that's yours?

static tulip
#

Yes, but the actual installed version in the game isnt updated automatically
You have to manually reinstall it (by clicking the install button again)

#

However it is possible I might've accidently uploaded a formatted version of the script lol

tranquil sun
#

Okay 😄

#

So i just need to edit the number in the line?

static tulip
#

And the wait below it, modifying those two will change how long it takes to cycle

tranquil sun
#

Okay, thanks!

static tulip
tranquil sun
#

No, thank you very much!