I am making a command bar for my admin, but you'd have to click the box, I want it like EISS Admin where you open and it auto-starts it.
Is this how you'd do it?
local TB = script.Parent TB:CaptureFocus()
Yes, it will work perfectly fine like that, but you should also note that this needs to be used in a LocalScript in order for it to work as expected in Online mode.
If you use it in a regular Script, it will work perfectly fine in Studio mode, but in Online mode, it will throw an error.
More on it Here
Anyways, thats pretty much it. Hope I helped :P