Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How does one detect the text typed by a user in a textbox?

I've seen it done. I want this text to appear on a surface GUI (textlabel) placed somewhere else, but this textbox will be a screenGUI given to a specific rank in a group only.

Anyways, all I need to know is how to fetch the text typed by the user in the textbox. I hope this doesn't get moderated.

Thanks!

1 comment

0

Could you post what you have so far?

1 answer

Use a local script

Mouse = game.Players.LocalPlayer:GetMouse()

Mouse.KeyDown:connect(function(key)
lowerkey = string.lower(key)
if lowerkey == "k" then
--code here
end
end)

1 comment

0

I specifically said a textbox

This discussion is preserved as it was. New answers, comments, and votes are closed.