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

Help with localscripts/local lighting?

Asked by 9 years ago

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

Log in to vote
1
Answered by 9 years ago

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

Ad
Log in to vote
-3
Answered by 9 years ago

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.

0
So how would I make it local? killerkill29 35 — 9y
0
You can't TopKekBD 15 — 9y

Answer this question