Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I am trying to make a screenGUI work but it doesn't update. How do I fix this?

I'm trying to make a countdown GUI. When the game starts, it displays time.Value, but when time.Value changes, it doesn't update. Please help

local time = script.Parent.time
while true do
	wait()
	game.StarterGui.ScreenGui.TextLabel.Text = "Time: "..time.Value
end

1 answer

local time = script.Parent.time
while true do
    wait()
    game.PlayerGui.ScreenGui.TextLabel.Text == "Time: "..time.Value
end

Problem: StarterGui is transferred over to PlayerGui while in game.

This discussion is preserved as it was. New answers, comments, and votes are closed.