local V=game.Lighting:GetMinutesAfterMidnight()/60 if V>=22 and V<=0 or V<=0 and V<2 then ai.Image=a bi.Image=a ci.Image=a di.Image=a ei.Image=a selected="\065"elseif V>=2 and V<6 then ai.Image=b bi.Image=b ci.Image=b di.Image=b ei.Image=b selected="\066"elseif V>=6 and V<11 then ai.Image=c bi.Image=c ci.Image=c di.Image=c ei.Image=c selected="\067"elseif V>=11 and V<17 then ai.Image=d bi.Image=d ci.Image=d di.Image=d ei.Image=d selected="\068"else ai.Image=e bi.Image=e ci.Image=e di.Image=e ei.Image=e selected="\069"end script.Parent.SplashFade.Disabled=false if selected=="\065"then script.Parent.SplashLoopA.Disabled=false elseif selected=="\066"then script.Parent.SplashLoopB.Disabled=false elseif selected=="\067"then script.Parent.SplashLoopC.Disabled=false elseif selected=="\068"then script.Parent.SplashLoopD.Disabled=false else script.Parent.SplashLoopE.Disabled=false end


local g = game.Lighting:GetMinutesAfterMidnight()/60

if (g >= 22 and g <= 0) or (g <= 0 and g < 2) then
	--print("aaaaa")
	ai.Image = a
	bi.Image = a
	ci.Image = a
	di.Image = a
	ei.Image = a
	selected = "A"
elseif (g >= 2 and g < 6) then
	--print("b")
	ai.Image = b
	bi.Image = b
	ci.Image = b
	di.Image = b
	ei.Image = b
	selected = "B"
elseif (g >= 6 and g < 11) then
	--print("c")
	ai.Image = c
	bi.Image = c
	ci.Image = c
	di.Image = c
	ei.Image = c
	selected = "C"
elseif (g >= 11 and g < 17) then
	--print("ddddd")
	ai.Image = d
	bi.Image = d
	ci.Image = d
	di.Image = d
	ei.Image = d
	selected = "D"
else
	--print("e")
	ai.Image = e
	bi.Image = e
	ci.Image = e
	di.Image = e
	ei.Image = e
	selected = "E"
end

script.Parent.SplashFade.Disabled = false
if selected == "A" then
	script.Parent.SplashLoopA.Disabled = false
elseif selected == "B" then
	script.Parent.SplashLoopB.Disabled = false
elseif selected == "C" then
	script.Parent.SplashLoopC.Disabled = false
elseif selected == "D" then
	script.Parent.SplashLoopD.Disabled = false
else
	script.Parent.SplashLoopE.Disabled = false
end
