TextBox Text Censor (For Password)

Hello there guys!
I need help with my textbox script.

So I just need the textbox to remember last text added


local lastpassword = “”

TextBox:GetPropertyChangedSignal(“Text”):Connect(function()

lastpassword = lastpassword … TextBox.Text

TextBox.Text = string.rep("*", #TextBox.Text)

print(lastpassword)

end)

Use data store to store the text as a string value

1 Like

You’re going to need to use the DataStore Service by GettingAsync of TextBox.Text

1 Like