Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I'm trying to make the time and music change, it doesn't work. why? :/ [closed]

Asked by 4 years ago
Edited by youtubemasterWOW 4 years ago
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
0
Sorry that it looks messy, I don't know why :/ chemistk1 7 — 4y

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?