Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 6 years ago

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?

0
TextLabel.Text = tostring(IntValue.Value) RockerCaleb1234 282 — 6y

1 answer

Log in to vote
0
Answered by
Asceylos 562 Moderation Voter
6 years ago

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

TextLabel.Text = IntValue.Value
Ad

Answer this question