local label = game.StarterGui.TimeLeft.Frame.TimeLeftLabel
local ready = game.StarterGui.TimeLeft.Frame.Ready.ReadyToVisit
local currentmin = currentdaymin + currenthourmin + currentminutemin
local beforemin = beforedaymin + beforehourmin + beforeminutemin
local timeoffline = math.abs(currentmin - beforemin)
print(currentmin)
print(beforemin)
print(timeoffline)
while true do
if ready.Value == false then
repeat
print("repeat")
label.Text = timeoffline
wait(5)
until ready.Value == true
end
wait(5)
end
end
This is in a script in the workspace. The repeat thing keeps on going, but the text isn't changed, even if I make the text say "test".
Help? How can I change the local text using a script?
Update/Breakthrough I looked at the startergui and playergui, and the startergui is updated to 0 so when I reset, it works. I haven't tested it yet, but will it make it 0 for all the players, or just for the local?

3 comments
Uhh.. Is "StarterGui" a child of "game"? I don't think so ._.
...Yes it is, StarterGui is in fact a child (and service) of game.
Yes it is TomsGames, I figured out instead of going to startergui, ill go to the playergui instead