How do I make the game 'notice' when a player types a certain thing in a textbox?
COMMUNITY QUESTION
How to use textboxes to write certain things?
1 answer
You could use a localscript to check if there is anything in the textbox and then check if the text you want is in the textbox
basically like this
local textbox = script.Parent.Parent.Textbox --Finds Textbox
textbox.Changed:Connect(function()--Creates a changed function
if textbox.Text == "thewordyouwant" then--checks if the right word is in textbox
--make it do what you want here
end -- ends the if statement
end) -- ends the function
accept if helpful
This discussion is preserved as it was. New answers, comments, and votes are closed.
