-- Function to simulate day-night cycle

local function dayNightCycle()
	while true do
		wait(dayDuration) -- Wait for the specified day duration

		-- Daytime award
		awardPointsToPlayers()

		wait(dayDuration / 2) -- Half of the day for nighttime

		-- Nighttime award
		awardPointsToPlayers()
	end
end
