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

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

(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

✓ Accepted answer

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.

1 comment

0

Super simple super quick.

This discussion is preserved as it was. New answers, comments, and votes are closed.