This is what I'm trying to do:
http://i.imgur.com/K6FlzfR.png
I've tried to use character detection to detect if it is over a certain character(s) it will stop the user from typing using the sub. text method. However:
Juicy ice creams
Mavericks icecre
As you can see, these all have the same character lengths yet they're quite sized differently which means that it will stop the user from typing when they reach those character lengths but not consistently.
On the other hand, you can use TextBounds but TextBounds only works for one-lined inputs so if you have multi-lined inputs like: http://i.imgur.com/K6FlzfR.png then it will stop counting when you reach the 2nd line and so on.
I need suggestions. What should I do? Any ideas? Help?
You can use the TextFits value inside textboxes.
textbox.Changed:Connect(function() if not textbox.TextFits then textbox.Text = textbox.Text:sub(1,#textbox.Text-1) end end)