i tried the roblox animtion plugin i tried the anima that some one made but its not working ither im very confused plz help me, im sorry i ment to play animations in characters like jump animation that plays every time you jump or a walk animation everytime you move
Well, I assume you've already made your animation and a LocalScript with and Animation as a child. For example it should look like this:
1 | StarterPack |
2 | -LocalScript |
3 | +Animation |
(I won't make the whole script for you because you've shown no effort (proof) that you've tried scripting. This is not a requesting site.
01 | wait( 1 ) |
02 |
03 | local player = game.Players.LocalPlayer --You need to identify the Player |
04 | local Mouse = player:GetMouse() --You obviously need your mouse for the KeyDown function |
05 | local humanoid = player.Character.Humanoid --Humanoid |
06 | local s = humanoid:LoadAnimation(Animation) -- Put the LOCATION of your animation here, for instance, if you have your animation INSIDE of a local script in StarterPack, then you'd put (game.StarterPack.Localscript.Animation) |
07 |
08 | Mouse.KeyDown:connect( function (key) |
09 |
10 | -- code |
11 |
12 | end |
13 | end ) |
I hope I helped!