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

How can I make a limit on a textbox?

Asked by
danglt 185
5 years ago

I'm wondering how I can make a script so a limit on a text box is added such as I want them only to use numbers and the max number they can use is "255" does anyone know how I can do this?

I suppose I could use tonumber for the first part

0
for the second part you can do if number > 255 then number = 255 Gameplayer365247v2 1055 — 5y
0
for the second part you can do if number > 255 then number = 255 Gameplayer365247v2 1055 — 5y

Answer this question