local Day = script.Parent:FindFirstChild("Day")
local Night = script.Parent:FindFirstChild("Night")
local Time = script.Parent:FindFirstChild("NewTime")
local ct = game.Lighting.ClockTime
while true do
Day.Playing = false
Time.Playing = true
Time.Looped = false
Night.Playing = true
ct = 12
print("time changed")
wait(10)
Day.Playing = true
Time.Playing = false
Time.Looped = false
Night.Playing = false
ct = 4
print("time changed")
wait(60)
end
COMMUNITY QUESTION
My day night script isn't working, it's inside workspace by the way, why isn't it working?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.
