Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Can a Regular Script Access the Lighting?

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?

2 comments

0

pls help me

0

Yes

1 answer

✓ Accepted answer

(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.

1 comment

0

Thanks!

This discussion is preserved as it was. New answers, comments, and votes are closed.