Surgotron
|
  |
| Joined: 11 Jan 2011 |
| Total Posts: 2334 |
|
|
| 27 Dec 2016 09:06 PM |
Night= true
--Street Light while true do if Night== true then for _, v in pairs(game.Workspace:GetChildren()) do if v.Name== "Street Light" then v.Candle.Material= "Neon" end end end end |
|
|
| Report Abuse |
|
|
GonnaW
|
  |
| Joined: 10 Oct 2016 |
| Total Posts: 3853 |
|
|
| 27 Dec 2016 09:17 PM |
possibly because u forgot to add a wait()? idk
https://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=170052312 |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2016 09:28 PM |
Add a wait() after v.Candle.Material= "Neon"
~kthxbye |
|
|
| Report Abuse |
|
|
spinywind
|
  |
| Joined: 26 Jan 2012 |
| Total Posts: 3580 |
|
|
| 27 Dec 2016 09:31 PM |
local Night= true
--Street Light while true do if Night== true then for _, v in pairs(game.Workspace:GetChildren()) do if v.Name== "Street Light" then v.Candle.Material= 'Neon' wait() end end end end
|
|
|
| Report Abuse |
|
|