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

How do I update a SurfaceGui's TextLabel with an IntValue?

I need help since well, I know how to convert a IntValue's Value to a TextLabel but, doing so in a SurfaceGui's TextLabel, for me doesn't work the same way, what is the right way?

1 comment

0

TextLabel.Text = tostring(IntValue.Value)

1 answer

✓ Accepted answer

Lua automatically converts integers into string and vice versa if needed.

TextLabel.Text = IntValue.Value

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