Ok so i want to make a code so if they type the code it will give them a certain item i tried changing its text so if its text is changed to the code ?
This is simple, but don't ask for request in the future. Only warning. What you'll need: TextBox inside a GUI, and a TextButton inside a GUI. This script is inside a localscript inside TextButton.
script.Parent.MouseButton1Click:connect(function() -- Button is clicked. if script.Parent.Parent.TextBox.Text == "password" then -- if the word is exactly inside the box then do a function. -- Do what you want. else -- if it isn't it, then do something else. print("Wrong Code.") end end)
Good luck.