Slowing down time

I want a way to slow down the time because time is running fast and I hope for an explanation

1 Like

are you running a weather sync script on your server

Hello @imbisk,

It depends on what resource you’re using for controlling your server’s time, however to put it simply you have to increase your thread timer.

Example: 1 second in real life is 1 minute in-game

local hour = 15
local minute = 0

CreateThread(function()
	while true do
		Wait(1000) -- 1000ms is 1 second
		minute = minute + 1
		NetworkOverrideClockTime(hour, minute, 00);
	end
end)

Example: 3 seconds in real life is 1 minute in-game

local hour = 15
local minute = 0

CreateThread(function()
	while true do
		Wait(3000) -- 3000ms is 3 seconds
		minute = minute + 1
		NetworkOverrideClockTime(hour, minute, 00);
	end
end)

In summary, the above should demonstrate what I was saying before (on a very basic level).

NOTE: The examples I have given will work for a short period of time before breaking, this is intended as the script is not fully developed (I am assuming you already have your own time system for your server so I won’t waste any time developing one for you here - just copy over the concept I have mentioned and it’ll solve your problem).

2 Likes