Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to use textboxes to write certain things?

How do I make the game 'notice' when a player types a certain thing in a textbox?

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.