So I've seen all these scrips about day/night, but they never had any transitions that included blurs, colorcorrection, sun rays, geographic altitude, etc. I've tried changing everything with it, but they all get messed up with its transition since there's different values and such. I'm really confused on how every lighting setting on my night time be slowly transitioned in my day time.

Script:

repeat

wait(800)

game.Lighting.TimeOfDay=14;
game.Lighting.Brightness=1;
game.Lighting.Ambient=Color3.new(54/255,52/255,74/255);
game.Lighting.FogEnd=5000;
game.Lighting.FogColor=Color3.new(12/255,84/255,91/255);
game.Lighting.ColorShift_Top=Color3.new(165/255,134/255,83/255);
game.Lighting.OutdoorAmbient=Color3.new(127/255,127/255,127/255);
game.Lighting.GeographicLatitude=317;
game.Lighting.GlobalShadows = true;
game.Lighting.ColorShift_Bottom=Color3.new(159/255,206/255,184/255);
game.Lighting.Outlines = false;
game.lighting.ColorCorrection.Contrast = 0;
game.lighting.ColorCorrection.TintColor=Color3.new(1, 1, 1);
game.Lighting.Color_1_Effect.TintColor=Color3.new(152/255, 191/255, 189/255);
game.Lighting.Color_2_Effect.TintColor=Color3.new(1, 208/255, 192/255);
game.Lighting.SunRays_Effect.Intensity=0.1;
game.lighting.Sky:Destroy();



t1 = "http://www.roblox.com/asset/?id=144815627"
t2 = "http://www.roblox.com/asset/?id=144815649"
t3 = "http://www.roblox.com/asset/?id=144815667"
t4 = "http://www.roblox.com/asset/?id=144815688"
t5 = "http://www.roblox.com/asset/?id=144815714"
t6 = "http://www.roblox.com/asset/?id=144815743"

local Sky = Instance.new("Sky", game.Lighting)
Sky.SkyboxBk = t1
Sky.SkyboxDn = t2
Sky.SkyboxFt = t3
Sky.SkyboxLf = t4
Sky.SkyboxRt = t5
Sky.SkyboxUp = t6
Sky.StarCount = 0


wait(1000)


game.Lighting.TimeOfDay=16.2;
game.Lighting.Brightness=.1;
game.Lighting.ShadowColor=Color3.new(0,0,0);
game.Lighting.Ambient=Color3.new(0,0,0);
game.Lighting.FogEnd=1500;
game.Lighting.FogColor=Color3.new(32/255,40/255,38/255);
game.Lighting.ColorShift_Top=Color3.new(79/255,99/255,95/255);
game.Lighting.OutdoorAmbient=Color3.new(12/255,12/255,12/255);
game.Lighting.GeographicLatitude=5;
game.Lighting.GlobalShadows = true;
game.Lighting.ColorShift_Bottom=Color3.new(0,0,0);
game.Lighting.Outlines = false;
game.lighting.ColorCorrection.Contrast = .2;
game.lighting.ColorCorrection.TintColor=Color3.new(145/255, 145/255, 145/255);
game.Lighting.Color_1_Effect.TintColor=Color3.new(138/255, 191/255, 181/255);
game.Lighting.Color_2_Effect.TintColor=Color3.new(153/255, 167/255, 1);
game.Lighting.SunRays_Effect.Intensity=0.02;
game.lighting.Sky:Destroy();

t1 = "http://www.roblox.com/asset/?id=190477248"
t2 = "http://www.roblox.com/asset/?id=190477222"
t3 = "http://www.roblox.com/asset/?id=190477200"
t4 = "http://www.roblox.com/asset/?id=190477185"
t5 = "http://www.roblox.com/asset/?id=190477166"
t6 = "http://www.roblox.com/asset/?id=190477146"

local Sky = Instance.new("Sky", game.Lighting)
Sky.SkyboxBk = t1
Sky.SkyboxDn = t2
Sky.SkyboxFt = t3
Sky.SkyboxLf = t4
Sky.SkyboxRt = t5
Sky.SkyboxUp = t6
Sky.StarCount = 0

until false

1 comment

0

I don't think this is possible, but hey, I'm just a person.