Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is it possible to change lighting with a script?

Asked by 5 years ago

Right now I have this script

local lighting = game:GetService("Lighting")
lighting.ClockTime = 0
lighting.FogEnd = 500

but it doesn't work. I don't see what could be wrong with it.

0
Type of script? Parent? Rare_tendo 3000 — 5y
0
Server Script inside of lighting devisings 58 — 5y
0
Put the script in serverscriptservice or workspace Rare_tendo 3000 — 5y
0
Strongly recommend the former, that's what it's for User#19524 175 — 5y
0
I put it there and it still doesn't work devisings 58 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

Put this exact script you made in Workspace. Also the script should be a Server Script, not Local. It works, I tried it out.

Ad

Answer this question