Hi, I'm working on a game currently, and I'm trying to make a timer gui. Changing the text directly just makes it reset when a player dies, and won't match up if another player joins the game.
I thought of connecting it to a StringValue, but I'm not totally sure how to do this.
I'm fairly new to Lua, any advice?

2 comments
"Changing the text directly just makes it reset when a player dies" Sounds like you're altering the StarterGui not the PlayerGui elements. "and won't match up if another player joins the game." And it sounds like you're looping through players first then looping through their time. "I thought of connecting it to a StringValue" Use a number value, change that value with the script,
In the Gui script, just listen to the Changed event. Anyway, we can't completely help you unless you show us your attempt.