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

how can i make a gui move out from the side if a certain key is pressed?

Asked by 4 years ago
Edited 4 years ago

(this might seem like a request, feel free to ignore!)

i'm looking to make a little interface pop out (i already have a button that does the same thing, i just don't know how to bind it to a certain key), but i haven't been able to find any good method to make it, i'm someone who's just now trying to get into scripting but the things that this current project demands are far beyond my reach, if anyone could provide any help then that would be amazing :)

1 answer

Log in to vote
2
Answered by
o_fex 146
4 years ago

You'd want to use UserInputService to achieve this. Assign the keycode to whatever key you want and then use TweenService to bring the GUI in.

0
Super simple super quick. SethHeinzman 284 — 4y
Ad

Answer this question