I am trying to make a TextBox that when you say a certain players name it will make that player with the name be able to walk through a door. Any help would be appreciated! Here is the script that I have so far...

script.Parent.FocusLost:connect(function() print("Text: " .. script.Parent.Text) if script.Parent.Text == "" then

end

end)