I've been looking everywhere on scripting helpers and I only found one answered question that was made 2 or more years ago and the script includes:
local Text = script.Parent
Text.Changed:connect(function()
Text.Text = Text.Text:sub(1,50);
end);
I edited it to make the cap 6 by changing the 50 to 6 however it doesn't work and it just allows the user to keep applying text. I was wondering if this script is too old and not working or if it's not supposed to be used in the context I want it or in the wrong script. (At the moment I'm using the standard script.) If anyone could help me that would be a huge help to the game I'm trying to make. ~ oshawat00

4 comments
put a print in the function and test if it prints
it doesnt print
This is a really great question, I’d like to know too
This code is in a local script right?