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()
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
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
Yes..why don't you test it before asking on here?
It was a simple question and I am busy doing other things. I just wanted to make sure so I do it right the first time.
Ok, sorry about that, but yea it should work