Entry.TextBox.FocusLost:Connect(function(e)return Window:LoseFocus(e)end)UserInputService.InputBegan:Connect(function(e,Q)return Window:BeginInput(e,Q)end);(Entry.TextBox:GetPropertyChangedSignal("\084\101\120\116")):Connect(function()Gui.CanvasPosition=Vector2.new(0,Gui.AbsoluteCanvasSize.Y)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(function()task.defer(Window.UpdateWindowHeight)end)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()
	Gui.CanvasPosition = Vector2.new(0, Gui.AbsoluteCanvasSize.Y)

	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(function()
	task.defer(Window.UpdateWindowHeight)
end)

return Window
