Post removed, new post

Post removed, new post.
https://devforum.roblox.com/t/how-can-i-get-my-script-to-detect-when-a-user-puts-certain-text-into-a-textbox/1458480

1 Like

This can be useful:

-- Place this code in a LocalScript inside a TextBox
local textBox = script.Parent
 
local function onFocusLost(enterPressed)
	if enterPressed then
		local message = textBox.Text
		if message == "Hello" then -- Change to what you want
			-- Put your code
		end
	end
end
 
textBox.FocusLost:Connect(onFocusLost)
1 Like

Use this model and edit it to be yours. It is from a YouTuber called TumbleWede. Search Gui - Roblox