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

Can someone teach me how to make a reload animation for a gun?

Asked by 7 years ago

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 answer

Log in to vote
0
Answered by 7 years ago
 local reloadanim = Humanoid:LoadAnimation(reloadanim) -- this load the animation

mouse.KeyDown:connect(function(Key) --When key is pressed
if (Key == "R") then --if the pressed key is R then
reloadanim:Play() --plays the aimation
0
I'm not giving you a full code ;) haloelite27 25 — 7y
Ad

Answer this question