-- Decompiled with the Synapse X Luau decompiler.


while true do
	wait();
	local l__LocalPlayer__1 = game.Players.LocalPlayer;
	local l__Human__2 = l__LocalPlayer__1.Character:WaitForChild("Human");
	local l__Infected__3 = l__LocalPlayer__1.Character:WaitForChild("Infected");
	local l__Day__4 = l__LocalPlayer__1.PlayerGui:FindFirstChild("Day");
	local l__Night__5 = l__LocalPlayer__1.PlayerGui:FindFirstChild("Night");
	if l__Human__2.Value == true and game.Workspace.Events.event.Value == false then
		game.Lighting.FogStart = 10;
		game.Lighting.FogEnd = 120;
		game.Lighting.FogColor = Color3.new(0, 0, 0);
		game.Lighting.TimeOfDay = "00:00";
	elseif l__Infected__3.Value == true and game.Workspace.Events.event.Value == false then
		game.Lighting.FogStart = 10;
		game.Lighting.FogEnd = 300;
		game.Lighting.FogColor = Color3.new(0, 0, 0);
		game.Lighting.TimeOfDay = "00:00";
	elseif game.Workspace.Events.event.Value == true and l__Human__2.Value == true then
		game.Lighting.FogStart = 10;
		game.Lighting.FogEnd = 35;
		game.Lighting.FogColor = Color3.new(0, 0, 0);
		game.Lighting.TimeOfDay = "00:00";
	elseif game.Workspace.Events.event.Value == true and l__Infected__3.Value == true then
		game.Lighting.FogStart = 10;
		game.Lighting.FogEnd = 80;
		game.Lighting.FogColor = Color3.new(0, 0, 0);
		game.Lighting.TimeOfDay = "00:00";
	end;
end;
