Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do you convert numbers to a set text/character?

I am trying to make a script builder, and I want it so you can censor your code, if you were doing a youtube video, screenshot, etc. I have everything so it is like local hashtagamount = #textlabel.Parent.Text So how would I convert this so it converts a layer on top of the text to like 20 hashtags if there were 20 characters in the box?

1 answer

✓ Accepted answer

If you mean replacing all the letters with hashtags, then this might work.

local hashtagamount  = #textlabel.Parent.Text

print("#" * hashtagamount)

Hope this helps!

1 comment

0

Sorry for not accepting it earlier! I accidentally leached lol! I used it but forgot to accept the answer, thanks.

This discussion is preserved as it was. New answers, comments, and votes are closed.