Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I retrieve a player's text input in a TextBox after pressing enter?

Asked by
314cake 17
5 years ago

My script so far:

textbox = script.Parent

textbox.FocusLost:Connect(function(enterPressed)
    if enterPressed then

end
end)
4
text = textbox.Text Vulkarin 581 — 5y
3
Thanks! 314cake 17 — 5y
0
In the future, check out explorer and the roblox wiki first. They will tell you all possible properties, functions, and events that you can use https://developer.roblox.com/api-reference/class/TextBox Vulkarin 581 — 5y

Answer this question