-
What do you want to achieve? I want to get my properties working in the script
-
What is the issue? The properties i set in the script do not work
-
What solutions have you tried so far? I tried editing the code Mutiple times
Hello, I’m having a problem getting my properties to work on the server script if anyone knows how to fix this I would love to know!
Script
local lighting = game.Lighting
local Brightness = game.Lighting.Brightness
local ShadowSoftness = game.Lighting.ShadowSoftness
local GlobalShadows = game.Lighting.GlobalShadows
local Ambident = game.Lighting.Ambient
local Outdoors = game.Lighting.OutdoorAmbient
local FogStart = game.Lighting.FogStart
local FogEnd = game.lighting.FogEnd
local fogcolor = game.Lighting.FogColor
while true do
wait(1)
if game.Lighting.ClockTime >=18 then
print("It's night")
GlobalShadows = false
Outdoors = Color3.fromRGB(25,25,25)
Ambident = Color3.fromRGB(0,0,0)
Brightness = 0
FogStart = true
fogcolor = Color3.fromRGB(255,255,255)
else
if game.Lighting.ClockTime >= 8 then
print("Day")
GlobalShadows = true
Outdoors = Color3.fromRGB(57,57,57)
Ambident = Color3.fromRGB(138,138,138)
Brightness = 2
FogEnd = true
fogcolor = Color3.fromRGB()
end
end
end
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.