I'm trying to make the time and music change, it doesn't work. why? :/ [closed]
local Day = script.Parent:FindFirstChild("Day")
local Night = script.Parent:FindFirstChild("Night")
local Time = script.Parent:FindFirstChild("NewTime")
lcoal 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
Closed as Non-Descriptive by youtubemasterWOW
This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.
Why was this question closed?