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

Way to make Client believe key was pressed?

Asked by
Despayr 505 Moderation Voter
5 years ago

I'm not asking for a script, or what's wrong with it. I am just wanting to know something.

Is it possible to make the client think that a key has been pressed with the click of a Text Button? In other words, if I had a script that activated by pressing Z, this button would make the client think Z had been pressed, which would activate the script.

1 answer

Log in to vote
0
Answered by 5 years ago

I don't think there is, and if it is, it must be really complicated. Just connect whatever function is bound to Z to a MouseButton1Click event in the text button.

0
May aswell if there is no other way. Despayr 505 — 5y
Ad

Answer this question