Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Forcing a player to type?

Asked by 9 years ago

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()
0
Yes..why don't you test it before asking on here? dyler3 1510 — 9y
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. TypicalModerator 110 — 9y
0
Ok, sorry about that, but yea it should work dyler3 1510 — 9y

1 answer

Log in to vote
2
Answered by
dyler3 1510 Moderation Voter
9 years ago

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

Ad

Answer this question