I have tried this so far and it works, but it stays on the same day of the week and does not change which is weird because there are no errors in the output.
##Script:
local daysOfTheWeek = {
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
}
for i=1, #daysOfTheWeek do
for _, plr in pairs(game.Players:GetPlayers()) do
local plrGui = plr:WaitForChild("PlayerGui")
local serverWeekGui = plrGui:WaitForChild("ServerWeekGui")
serverWeekGui.TextLabel.Text = daysOfTheWeek[i]
end
while not game.Lighting.ClockTime == 0 do
wait(1)
end
end
What I want is for when the clock time changes to 0 for the day to change to the next day. Like say it's Monday, I want the day to change to Tuesday.

4 comments
Put some pride into your work. I fixed a lot of the grammatical errors and the codeblock.
its because of line 17
what you have to do is check when the clocktime is 0 then change to the next day
how do i do that?