How Do i Play an animation when a player presses a key?

What i’m trying to do is make it so when a player Holds down the “W” Key they will play my own custom Animation and then when a player stops holding the “W” Key to revert back to an Idle Animation?

1 Like

Use IsKeyDown for this. You can learn more about IsKeyDown here

Use Enumerations, IsKeyDown and :Play in a script to make a KeyCode play your animation when they press a key.