|
| 09 Aug 2016 03:08 PM |
How come this line of code keeps crashing studio:
game.Workspace.Theater_Lighting.Values.Strobe.Value = 0 game.Workspace.Theater_Lighting.Strobe_1.SurfaceLight.Enabled = false game.Workspace.Theater_Lighting.Strobe_2.SurfaceLight.Enabled = false
Any way to fix it?! |
|
|
| Report Abuse |
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 09 Aug 2016 03:09 PM |
I'm going out on a limb and saying that's not what's crashing studio.
|
|
|
| Report Abuse |
|
|
| 09 Aug 2016 03:33 PM |
Follow up question, I'm having a problem with lighting.
Instead of changing the lights to red, it changes them to yellow:
script.Parent.MouseClick:connect(function() game.Workspace.Theater_Lighting.Stage_Light.SurfaceLight.Color = Color3.new(255, 2, 0) game.Workspace.Theater_Lighting.Door_Light.SurfaceLight.Color = Color3.new(255, 2, 0) game.Workspace.Theater_Lighting.Crowd_Light_1.SurfaceLight.Color = Color3.new(255, 2, 0) game.Workspace.Theater_Lighting.Crowd_Light_2.SurfaceLight.Color = Color3.new(255, 2, 0) game.Workspace.Theater_Lighting.Strobe_1.SurfaceLight.Color = Color3.new(255, 2, 0) game.Workspace.Theater_Lighting.Strobe_2.SurfaceLight.Color = Color3.new(255, 2, 0)
end) |
|
|
| Report Abuse |
|
|
| 09 Aug 2016 03:39 PM |
this thread reminds me of faces
Fried not Baked |
|
|
| Report Abuse |
|