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

Local Lighting

I've heard about Local Lighting, never got around to messing with it. How does it work?

3 comments

0

Where have you heard about it ?

0

I've seen it in games, there's been forum posts about it, etc. Why?

1

Is my answer good enough ?

4 answers

Oh If you mean 'how to make a light visible for a player only', just place it in its own Camera

EDIT

You need to use the .Changed event on Lighting

Lighting.Changed:connect(function()
	--- set the lighting properties for the player in a localscript
end)

That will fire a lot per second, but it works :)

4 comments

0

No, I'm talking about Local Lighting like changing the time of day or ambient for one player, etc.

0

Wouldn't setting lighting properties when .Changed is fired still have Lighting replicate to server?

0

Well, due to some 'bug' it works

0

I think roblox might of fixed this bug.

I believe with the use of .FilteringEnabled you have the ability to have local lighting along with anything else.

Workspace.FilteringEnabled = true;

1 comment

0

I tried this, the client's Lighting still replicated to server. :c

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