Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

 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

1 comment

0

I'm not giving you a full code ;)

This discussion is preserved as it was. New answers, comments, and votes are closed.