Making Command Bar Auto Type

So I have a command Bar for an admin but when you press the button to active the command bar you have to click the bar to be able to type how would you make it so it auto pops so you just type after clicking the key bind for the command bar?

For example Adions Admin when you hit the keybind for the command bar you don’t have to click the bar to be able to start typing as soon as you click they key it lets you start typing

You would use TextBox:CaptureFocus() in a local script.

1 Like

CaptureFocus()

https://developer.roblox.com/en-us/api-reference/function/TextBox/CaptureFocus

2 Likes

Thanks for the help much appreciated