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

Help with localscripts/local lighting?

How would I make lighting local for people who want it, ex, ambient changes if people only want it to but only on their screen? Does it work the same as localbricks? (places a message, and inside it goes lighting?)

2 answers

✓ Accepted answer

You actually could, with FilteringEnabled. To do this, go into properties of Workspace in RBLXStudio and checking the box 'FilteringEnabled'.

This will give your place a little security boost by filtering the changes an exploiter makes in your game by limiting it to client-side only.

In your case, if FilteringEnabled is checked, changing the Lighting in a LocalScript will only affect that that client.

However, if you have any additional coding that deals with server-side connections, it could be frustrating to convert. Since FE also limits access to the server-side, any connections your script makes with the Workspace will also only affect You and not anyone else. To make it work with FilteringEnabled, I suggest you read this.

http://wiki.roblox.com/index.php?title=RemoteFunction_and_RemoteEvent_Tutorial

You cannot put lighting inside a local object, because lighting is a game service. A game service's parent must be the game. Otherwise it can't be called a game service, it would be called an object.

2 comments

0

So how would I make it local?

0

You can't

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