generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Help!!

Previous Thread :: Next Thread 
ColinRocks99 is not online. ColinRocks99
Joined: 04 May 2013
Total Posts: 1533
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 is not online. 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
ColinRocks99 is not online. ColinRocks99
Joined: 04 May 2013
Total Posts: 1533
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
bigbriangoad is not online. bigbriangoad
Joined: 27 Sep 2012
Total Posts: 5076
09 Aug 2016 03:39 PM
this thread reminds me of faces

Fried not Baked
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image