script.Parent.lighting = --I HAVE NO FRICKIN IDEA D:<
Does anybody know how Dynamic lighting scripting works?
Well, you use PointLights, Spotlights, etc
You can change their brightness
script.Parent.Brightness=--number
the Range
script.Parent.Range=--number
if it is on or off
script.Parent.Enabled=true--or false
If it has shadows or not
script.Parent.Shadows=true--or false
or the Color
script.Parent.Color=Color3,new(0/255,0/255,0/255)--You need to divide each by 255 to get the right color
Here is a wiki link to Dynamic Lights: http://wiki.roblox.com/index.php/Glowing_dynamic_lights
SpotLights have a few additonal Properties. Here is a wiki link for SpotLights