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

TextButton Pressed, Equivalent to Key Pressed on Keyboard?

Asked by 7 years ago

So I make a ScreenGUI, add frame, add textbutton, and what that textbutton does is that it converts it into a certain key pressed on the keyboard, like let's say I make a textbutton, and whenever someone presses that button, it is equivalent to pressing G on the keyboard. Any certain ideas pop out? Thanks!

-LukeGabrieI

--I'm trying to make a script using UserInputService, but I seem to have trouble.

Please help! (:

0
Please share your code, as this is not a request site. FrostTaco 90 — 7y
0
Don't use that. Use the ContextActionService. It gives you a lot more freedom and is pretty easy to learn. Meltdown81 309 — 7y

Answer this question