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

put intValue in a TextBox?

How do i set a TextBox's Text to an IntValue?

I've been trying for days but it doesn't work. Please may I have the script?

2 answers

Use tostring(theintvalue), it will convert another value to a string

3 comments

0

to path to the intValue or the intValue's name?

0

that isn't needed to set a textbox's text to an IntValue. a simple TextBox.Text = IntValue.Value would suffice

0

@bizzarebazarr what ever its defined to. @kkfilms_1 Not true, if the typeof is a number and not a string it will not let you combind them as they aren't both strings

You'd use the tonumber() function of Lua. It converts a string (TextBox's text) into a number or int (IntValue value)

IntVale.Value = tonumber(TextBox.Text)

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