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

Is there any way to make the text in a TextBox change when a value is changed?

I have a tycoon where I wanted to make a GUI which shows how much money you have(Instead of using leaderboards), but I can't figure it out. I've posted a question about the script and it is completely wrong, so if anyone could help me then that would have been great!

1 comment

0

This isn't a request site, but I can tell you that you need to use a Changed event.

1 answer

✓ Accepted answer

What I would do is either use a loop inside of a localscript or an event. Like so

Cash.Changed:connect(function()
TextBox.Text = Cash.Value
end)

or

while wait() do
TextBox.Text = Cash.Value
end

Anything that dealing with a player, shouldn't be handle on the server.

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