TNitro7669 Use FGUI! Doing text input properly is a very difficult process, FGUI does it for you!L
Library ID: rOXQsmd4_OVOOWKzsdPAQf2FqnDqmjPWTu570Zp4DGA
Here is the code for a simple text input!
var input = createElement(10,10,380,20);
input.addComponent("input","Text");
function draw() {
FGUI.draw();
}
Check it out at https://gamelab.freeflarum.com/d/1548-gui-module/18
You can get the value of the input using input.value
Also, ask questions here if you need help doing what you want with it.
(shameless self-promotion)