all right guys today I'm going to be showing you how to add custom Walk and Run animations to Roblox studio so let's get started so the first thing you want to do is you want to run the game so after you've run the game go inside your character that's found inside the workspace Now open up that little drop- down menu on the side over here now you can see a local script called anime inside so what you want to do is you want to copy that script so we're going to right click and click copy
now you can stop running the [Music] game now what you want to do is you want to paste that script by doing contrl V so now you have this animate script in the workspace over here so what you want to do is you want to move it to starter character scripts so it's found under starter player so starter character scripts is inside starter player so you want to move the animate script inside now when you look inside this animate script you can you can see a bunch of values inside all these values inside represent the
different emotes a player can have so you have the fall idle jump laugh Point run sit swim animations all inside here if you open up the Run value for example you can see an animation that's stored inside so what we're going to do now is we're going to create an animation and we're going to replace the animation ID that's found inside this anim to the one that we just created so let's create the animation so we're going to go under the Avatar Tab and we're going to insert a rig so you can go under rig
Builder and select the rig type that you want so we're just going to insert a block Avatar so now what you want to do is you want to open the animation editor over here so we're going to select the rig we want to animate and we're just going to call it run animation so here we're going to create a custom run animation that you can Implement into your game so the Run animation consists of the characters arms and legs moving up and down and back and forth so that's what we're going to do over here
so let's just drag this timeline down a little bit over here and we're going to rotate the character's arms and position them in a way that makes it look like the character is running so we're going to drag it up here we're going to put the other arm the other way we're going to bring their legs forward and backwards as well [Music] and we're going to put the other leg in the opposite direction so you can see the animation looks like this so far you can see the character's legs and arms moving and now we
want them to move the other way so we're going to drag the timeline down a little further and we're going to bring their arms back the other [Music] way now we're going to do the same same thing for the legs so let me just play the animation see what it looks like and you can Loop it to see if it looks smooth and maybe we want to bring the legs and arms back to its default position for the last key frame so by doing this we'll make the animation look a little more [Music] natural so
I'm going to play the animation again and that looks all right but maybe this looks a little too similar to the default animation so just to show you it's going to be a custom animation we're going to Spring the arms forward a bit we're going to Spring the arms sideways a bit so I'm just going to drag out the arms a bit and when we get to here we're also going to rotate the arms out so let me just play it again and see if it looks a little better now let's make it even more
unique just so I can prove to you that this is a unique animation I'm going to put the leg Eggs Up Above 90° like this and I'm going to do the same thing for the other [Music] side now if you're having trouble animating this you can check out my animation guide I'll leave an info card about here all right so I've made the animation extremely exaggerated so you can see that this is in fact a unique animation so I'm just going to play it one more time just to show you what it's going to look
like so it looks like this it looks kind of funny but you know it's a custom animation and the last thing we have to do is just publish the animation so you can go under these three dots over here and click publish to Roblox so you can't see the publish button because the window is a little too big so we can just size it down a bit and I'm just going to drag it up and it reveals the publish button over here so after you've named your animation you can just click save so now you
successfully published your own animation now you want to keep this animation ID over here so you can click this button over here to copy it and we're going to close now we're going to go under that animate script that we had earlier and we're going to go down to the Run value now inside the Run value there was an animation so the animation object has its own property called animation ID we're going to replace that animation ID with the animation that we just created I'm going to paste the ID that we just copied over when
we published our animation so I'm going to paste it here and I'm going to enter it now when we run the game this animate script gets copied to our character so all the animations inside are the ones that are going to play so since we replaced the Running Animation inside this animate script our character should use the new animation that we just created instead of roblox's default animation just remember when you're creating the animation to create the animation for the correct rig type so if you want R six characters in your game you would use
an R6 rig or if your game uses r-15 characters make sure to use an R15 rig when you're animating so without further Ado we're going to play the game and we're going to see our custom animation all right so I'm going to prepare to run and the custom animation should be playing right about [Music] now all right so as you can see our custom animation is playing so we know that it worked now besides the Walk and Run animations you can change all the default animations that are listed inside the animate script so if you
really wanted to you could create your own custom fall animation your own custom idle animation jump animations anything that's listed here you can make your own version of so now you can create any kind of custom animation that you want to put inside your game I hope you learned something new in this video and as always please like and subscribed if you found this helpful and thank you guys so much for watching and we'll see you in the next one [Music]