I can't figured it out how to make this script works. I'm trying to make the model that is in lighting and spawn onto the map on a certain of time like for example; when it turn night time, the model will appear on the map. How can I do that?
Here is the link to the model so you could have a better of understanding:
http://www.roblox.com/unnamed-item?id=313479870
local Time = game.Lighting
local Bricks = game.Lighting.Z
Time.Changed:connect(function()
if Time.TimeOfDay == "14:00:00" then
Bricks.Parent = game.Workspace
end
end)
Thank You.

2 comments
Everything seems fine, I'd double check your hierarchies, it seems bricks may be the problem, any output? If Z is a model you will want to use a for loop to put all the bricks in workspace
I don't know, I'm trying to find the solution. D: