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