Hello, i’m making a settings menu and i want a textbox that you can only enter numbers (e.g. Fov Choosing in Arsenal or song id inserter), does that need script?
thanks in advance.
Hello, i’m making a settings menu and i want a textbox that you can only enter numbers (e.g. Fov Choosing in Arsenal or song id inserter), does that need script?
thanks in advance.
Yes it would. It’s not a super difficult script though you could just use TextBox:GetPropertyChangedSignal(“Text”) to check when the user has input something, and if they have inputted anything that isn’t a number you can clear it out.
This should be what your script looks like, you’ll need to use a LocalScript within your GUI. I’m not sure if you’re much of a scripter, but this should be pretty easy.
Thanks for help, i’ve tried the code it worked perfectly!