So I looked through videos but they don't work, first i added ScreenGui in StarterGui and then added TextBox in ScreenGui and added a script in TextBox.
Here is a simplified script:
local kool = script.Parent
kool.Focused:Connect(function() wait(10) print ("O") end)

3 comments
Focused is a RBXScriptSignal of TextBox, not TextLabel.
What do you mean "changing text"
text changing into other texts