local function z()while true do wait(dayDuration)awardPointsToPlayers()wait(dayDuration/2)awardPointsToPlayers()end end

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
