Hello!
So I just spent the last hour creating a script and when I was testing it out, the loop print wasn’t printing. It was working before, but now for some reason it isn’t. Everything is defined and indented properly. The code follows:
while true do
print(“Looped”)
wait(0.1)
if time >= “18” and time <= “18.7” and daynight == “0” then
Night:Play()
print(“Tweened”)
daynight = 1
wait(0.1)
end
if time >= “6.1” and time <= “6.1” and daynight == “1” then
Day:Play()
print"Went back"
daynight = 0
wait(0.1)
end
end
Any help will be appreciated.
R3M1X