I'm trying to make it so a specific animation plays if a key is pressed and then another key is pressed shortly after. For the game I am making, I am using the arrow keys. If the up arrow key is pressed how would I make it play, let's just call it, Animation 1. However, if the up arrow key is pressed followed by the left arrow key within 0.5 seconds then Animation 2 would play instead. I've been looking at a bunch of other forum posts but I can't find anything ever since they took the ROBLOX official forum down.
COMMUNITY QUESTION
How would I make an animation play when a combination of keys are pressed?
1 answer
Just make a keybind event that sets a variable to true, check for the variables being true before making the event happen and make them false after a certain amount of time. This would take a lot of variables but it is possible.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
I can't seem to get a KeyBind working with the arrow keys for some reason.