The easiest way to achieve this is by setting the TextBox’s TextXAlignment to TextXAlignment.Left, and increasing its Size dynamically as the player types.
edit: i’m not sure if you’re asking for textbox resize or keep the text cursor on screen @caneeeeee’s should work easier
AutomaticSize on X
TextWrapped = false
ClipDescendants = true