
20.3k Views
715 Executions
Realistic Graphics V2 DAY AND NIGHT
Universal Script π
BlueyPublished 5
4 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
It has realistic day/night feature. Ambience changes with time. ATTENTION: This is only for fun, some bugs may appear, or it will not work, I recommended use SYNAPSE & KRNL to use this script, credits to me. This is V2, V3 is soon. Next V3 peaks: Realistic water, fogs, trees, floor, ground, etc. Thank you for using it! ππ
--Script by Qeuo Ambience changes with time.
L = Game:GetService("Lighting")
while true do
wait(1)
T = L:GetMinutesAfterMidnight()
L:SetMinutesAfterMidnight(T + 1)
if T < 300 then --Night time, after midnight.
Game.Lighting.OutdoorAmbient = Color3.new(30/255,30/255,30/255)
elseif T > 300 and T < 390 then --Dawn, sun rise.
Game.Lighting.OutdoorAmbient = Color3.new((30+(T-300)/1.5)/255,(30+(T-300)/1.5)/255,(30+(T-300)/1.5)/255)
elseif T > 390 and T < 600 then --Morning.
Game.Lighting.OutdoorAmbient = Color3.new((90+(T-390)/7)/255,(90+(T-390)/7)/255,(90+(T-390)/7)/255)
elseif T > 600 and T < 840 then --Day time.
Game.Lighting.OutdoorAmbient = Color3.new(120/255,120/255,120/255)
elseif T > 840 and T < 1050 then --Afternoon.
Game.Lighting.OutdoorAmbient = Color3.new((120-(T-840)/7)/255,(120-(T-840)/7)/255,(120-(T-840)/7)/255)
elseif T > 1050 and T < 1140 then --Evening, sun set.
Game.Lighting.OutdoorAmbient = Color3.new((90-(T-1050)/1.5)/255,(90-(T-1050)/1.5)/255,(90-(T-1050)/1.5)/255)
elseif T > 1140 then --Night time, before midnight.
Game.Lighting.OutdoorAmbient = Color3.new(30/255,30/255,30/255)
end
end









my eyes the code AHHHHHH
just got cancer looking at the code very cool! ππππππππππππππππ
For the script to work, you'll need to wait 1 minute for it to work. Thank you for using it! πΊπ»