Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Forcing a player to type?

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()

3 comments

0

Yes..why don't you test it before asking on here?

0

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.

0

Ok, sorry about that, but yea it should work

1 answer

✓ Accepted answer

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.