Could someone direct me to where I can find out how to make a box that allows you to submit a password through gui and then if it's correct something happens.
✓ ANSWER ACCEPTED
Help with passwords and guis?
1 answer
✓ Accepted answer
put this in a text box:
script.Parent.FocusLost:connect(function() -- when the textbox is clicked away from, or pressed enter
if script.Parent.Text == "passwordHere" then -- checks to see if the password is correct
print'ta-da' -- put code here
end
end)
this has not been tested, and may have some basic syntax errors.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Like a user account password? xD