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 » Game Design
Home Search
 

Re: Scripting Help

Previous Thread :: Next Thread 
powerminer67 is not online. powerminer67
Joined: 05 Jul 2012
Total Posts: 9
30 Jul 2017 04:13 PM
I have a script here that changes the transparency of a brick at a certain time of day then changes back, but it will only apply the script to one brick. I was wondering how I can change this so it will apply to all bricks named "NeonL"?


code# function update()
code# if game.Lighting:GetMinutesAfterMidnight() < 300 or game.Lighting:GetMinutesAfterMidnight() > 1080 then
code# game.Workspace.NeonGroup.NeonL.Transparency = 0
code# else
code# game.Workspace.NeonGroup.NeonL.Transparency = 1
code# end
code# end
code# game.Lighting.Changed:connect(update)



Report Abuse
dryhorse2014 is not online. dryhorse2014
Joined: 28 Jan 2014
Total Posts: 727
30 Jul 2017 04:14 PM
Are the bricks named different things
Report Abuse
powerminer67 is not online. powerminer67
Joined: 05 Jul 2012
Total Posts: 9
30 Jul 2017 04:18 PM
All the bricks I want to be changed are named "NeonL".


Report Abuse
powerminer67 is not online. powerminer67
Joined: 05 Jul 2012
Total Posts: 9
30 Jul 2017 04:42 PM
bump


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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