I am currently creating a GUI that contains lots of text boxes. I am trying to make it so you can only enter numbers into the text box which I have accomplished here:
TextBox:GetPropertyChangedSignal("Text"):Connect(function()
TextBox.Text = TextBox.Text:gsub("%D", '')
end)
But there is one problem I can’t find a way to get around.
Make it able so I can also enter decimals along with numbers
Thank you if you could help