Entry.TextBox.FocusLost:Connect(function(V)return Window:LoseFocus(V)end)UserInputService.InputBegan:Connect(function(V,B)return Window:BeginInput(V,B)end);(Entry.TextBox:GetPropertyChangedSignal("\084\101\120\116")):Connect(function()if Entry.TextBox.Text:match("\t")then Entry.TextBox.Text=Entry.TextBox.Text:gsub("\t","")return end if Window.OnTextChanged then return Window.OnTextChanged(Entry.TextBox.Text)end end)Gui.ChildAdded:Connect(Window.UpdateWindowHeight)return Window

Entry.TextBox.FocusLost:Connect(
	function(submit)
		return Window:LoseFocus(submit)
	end
)

UserInputService.InputBegan:Connect(
	function(input, gameProcessed)
		return Window:BeginInput(input, gameProcessed)
	end
)

Entry.TextBox:GetPropertyChangedSignal("Text"):Connect(
	function()
		if Entry.TextBox.Text:match("\t") then -- Eat \t
			Entry.TextBox.Text = Entry.TextBox.Text:gsub("\t", "")
			return
		end
		if Window.OnTextChanged then
			return Window.OnTextChanged(Entry.TextBox.Text)
		end
	end
)

Gui.ChildAdded:Connect(Window.UpdateWindowHeight)

return Window
