I have no idea how to get started with that. Could someone give me a major hint or point me to a robloxwiki for that?
There is a function which focuses on the text box when called, :CaptureFocus(). Here is an example:
1 | local player = script.Parent.Parent.Parent.Parent |
2 | local mouse = player:GetMouse() |
3 | local textbox = script.Parent |
4 |
5 | mouse.KeyDown:connect( function (key) |
6 | if key = = "/" then --if the key is '/' then |
7 | textbox:CaptureFocus() --User can type |
8 | end |
9 | end ) |
If you are new to keys you can go to this link here : http://wiki.roblox.com/index.php?title=Taking_keyboard_input Which shows how to get keyboard input. Hope i helped!