|
| 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 |
|
|
|
| 30 Jul 2017 04:14 PM |
Are the bricks named different things
|
|
|
| Report Abuse |
|
|
|
| 30 Jul 2017 04:18 PM |
All the bricks I want to be changed are named "NeonL".
|
|
|
| Report Abuse |
|
|
| |
|