This LocalScript under a TextBox contains the following code:
script.Parent.Changed:Connect(function()
script.Parent.Text = script.Parent.Text:sub(1,239)
end)
This is supposed to enforce a 239 character limit on the TextBox, but it doesn't. There are no errors on both the client and the server. I don't understand why this isn't working. Any help would be greatly appreciated, thanks!
