How to detect Text in a TextBox//Script not detecting Textbox changes

  1. What do you want to achieve? Keep it simple and clear!
    Detect Text changes in Textbox

  2. What is the issue? Include screenshots / videos if possible!
    Script is not detecting TextBox changes, whatever the code or script type is.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    No solutions

Could you show the code you are trying?

i tried manyy other codes it is not working as i said

Thats clearly not what i asked, what i asked was what is the code you tried, aka its source, what is written in the code.

You can get the text in a TextBox by using the .Text property. Simple.

-- LocalScript parented to the textbox
local textBox = script.Parent

local function getTextBoxText()
	return textBox.Text
end

print(getTextBoxText())
2 Likes

THANK YOU It litterally took me days