I have tried lots of places and I still can seem to animate my gun. I have made an animation using animation editor for the Humanoid but i can seem to put it to work when u want to reload the gun. Can someone teach me how to do something that will hopefully get me started with it. Im really stuck can u help me?
1 | local reloadanim = Humanoid:LoadAnimation(reloadanim) -- this load the animation |
2 |
3 | mouse.KeyDown:connect( function (Key) --When key is pressed |
4 | if (Key = = "R" ) then --if the pressed key is R then |
5 | reloadanim:Play() --plays the aimation |