#how do you do write to a textlabel
1 messages · Page 1 of 1 (latest)
if you want the player to be able to type into the TextLabel, you must use a TextBox instead.
With that you can also listen for FocusLost:
TextBox.FocusLost:Connect(function(enterPressed)
if enterPressed then
print(TextBox.Text)
end
end)
This way you can run code when someone types something and presses enter.
but the textbox looks terrible and needs me to click on it first before I can type
I want it so that the keyboard only interacts with this terminal
and the mouse is only used to look around
the player is to remain seated for the entire thing
:CaptureFocus()
ok so I tested this and the text box allows things I don't want possible