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

How would I be able to do this?

Asked by 9 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

I have already made the animation, how would I make it so that when I press the m key the animation would happen? It is not a walk animation or anything like that btw. It can be in a GUI if that is the only way you know how to do it.

0
We need to see an attempt at a script before we can help. ScriptingHelpers is not a request site. M39a9am3R 3210 — 9y
0
This isn't a forum, saying bump will not make your question the first one again. Once again, we are not a request site and we need to see an attempt at a script before we can help. M39a9am3R 3210 — 9y

1 answer

Log in to vote
0
Answered by 9 years ago

Firstly, I would like to stress to you that this is not a request site.

Secondly, to answer your question, I believe you would put your code in a LocalScript, inside of StarterPack, and then get the players' mouse.

Then, you would set up a UserinputService listener to listen for the M key, and when it happens, play your animation.

Ad

Answer this question