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

Change Lighting in a Certain Room?

Asked by 9 years ago

I want to change the lighting in this certain room, without having to change the lighting for the whole game. Is there a script to change the lighting in one room, rather than all the rooms? (Beginner Scripter)

3 answers

Log in to vote
0
Answered by
TofuBytes 500 Moderation Voter
9 years ago

Lighting as in the Game Service or Lighting as in PointLight?

Changing the game lighting in one room is impossible. You can on the other hand use PointLight and Spotlight to achieve room lighting.

Ad
Log in to vote
0
Answered by 9 years ago

Make a part.. now, add a Point light or a Spot light into that part. You can edit the color and brightness of it in the properties. If you want the part to be invisible, make the transparency equal 1 and check the box next to "CanCollide". If you do not want to edit the properties of the part, put a script in it.. and put this in the script..

script.Parent.CanCollide = false
script.Parent.Transparency = 1
0
I hope this helped. :D robloxer8282 25 — 9y
Log in to vote
0
Answered by 9 years ago

I recommend turning "Shadows" on, a Property of SpotLights and PointLights.

When "Shadows" is checked, light doesn't travel through other bricks most of the time.

Answer this question