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

2 comments

0

for the second part you can do if number > 255 then number = 255

0

for the second part you can do if number > 255 then number = 255