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

Can a Regular Script Access the Lighting?

Asked by 9 years ago

Trying to access "Lighting" from a script in the StarterGui.

Not having any luck so far.

Can you access the Lighting with a regular script?

0
pls help me sidekick83 80 — 9y
0
Yes parkderp1 105 — 9y

1 answer

Log in to vote
1
Answered by
parkderp1 105
9 years ago

(I'm answering with the assumption you are editing the Lighting properties.)

Yes, all scripts can access, the Lighting. Server scripts(scripts) can always access and edit the Lighting. Client scripts(localscripts) can always access the Lighting. But localscripts can only universally change the Lighting if FilteringEnabled is off.If FilteringEnabled is enabled then the changes made to the Lighting only appear to the player.

0
Thanks! sidekick83 80 — 9y
Ad

Answer this question