This tutorial is to teach any beginners how to animate in Roblox Studio, I know I already touched up on this subject a while back, but this tutorial covers everything you'd need to know, and the other one didn't exactly. Hope this helps, thanks for watching! Dummy Script: local animation = script.Animation -- This is getting our animation from the script, make sure you use your own animation ids! local humanoid = script.Parent.Humanoid -- This is getting our humanoid from the dummy! local animTrack = humanoid:LoadAnimation(animation) -- This is loading our animation for the humanoid! animTrack:Play() -- This will play your animation! animTrack:AdjustSpeed(0.5) -- Change the Float Integer to whatever speed you'd like! wait(8) -- This is a wait() it will wait 8 seconds, you can change this to whatever, or just remove it! animTrack:Stop() -- This will stop your Animation! Player Script: local animation = script:WaitForChild("Animation") -- This is getting our animation from the script, make sure you use your own animation ids! local humanoid = script.Parent:WaitForChild("Humanoid") -- This is getting our humanoid from the player! local animTrack = humanoid:LoadAnimation(animation) -- This is loading our animation for the humanoid! animTrack:Play() -- This will play your animation! animTrack:AdjustSpeed(0.5) -- Change the Float Integer to whatever speed you'd like! wait(8) -- This is a wait() it will wait 8 seconds, you can change this to whatever, or just remove it! animTrack:Stop() -- This will stop your Animation! If you'd like to play the animation when a part gets touched, here's the code! Keep in mind, you do still need your animation variables! game.Workspace.Part.Touched:Connect(function(hit) -- This function will run when a part in the workspace gets touched! local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player then animTrack:Play() -- This will play your animation! end end)
hey, so, I have a problem that I'd hope you might know the answer to, me n a friend are workin on a roblox game, made some anims, crouch anims, I can see them on myself and him in game when we crouch, but he can't see them on himself or me, an when he puts these anims on a dummy, I can't see the anims playing, if you have any idea what could cause this I'd be very great full for any information.
@@Dom-HSK If you guys are making the games on a group, then when you publish your animations to Roblox, you need to change the creator of the animation from "ME" to the name of your group.
hey, i have one question that i hope you can answer what if im collabing with other people but i dont have a group? oh and the code somehow didnt work for me, do i *have* to put it on a dummy? im trying it on my friends avatar and it didnt seem to work. Do you have an answer to that, perhaps?
To make your animations look better you should try to follow actual animation rules like anticipation. For example, instead of throwing the arm straight out to punch, pull the arm back then throw it forward to give it more impact and make it look more lifelike
I always saw animating as "hard" and "nearly impossible" for someone like me, but this tutorial really showed me how easy it can actually be! Really appreciated, instantly subcribed!
this was super clear and i was able to understand it with ease. ive never ever script or animated before and i made a fluent walking animation and idle animation. thank you so much!
Okay so for my confused people. I have figured it out. so since his script says local animation = script.Animation local Humanoid = script.Parent.Humanoid local animationTrack = Humanoid:LoadAnimation(animation) animationTrack:Play() ------------------------------------------------------------------------------------------------- There are only around three things you need to change to make your animation work! Change 3 of the words that say animation to the NAME of your animation when you are naming your animation in Roblox studio inside the explorer tab on your right side screen. For instance, I named my animation "Float" So I made my animation play in real time by rewriting it like this VVVV local Float = script.Float local Humanoid = script.Parent.Humanoid local animationTrack = Humanoid:LoadAnimation(Float) animationTrack:Play() I was having a bit of trouble understand at first but thankfuly I got it.
Thanks man your a true legend. I'm a professional animator, but I'm a beginner at scripting, so I didn't know how to add the animations to the player. I can finally start my animator commission career thanks to you. Keep up the good work you earned a like and a sub!
I just found this channel today, but it is awesome and has really easy tutorials that probably even an 8-year-old could pick up on! You earned yourself a Subscriber!
This Is 2024 Now And I Still Watches These Tutorials LOL, This Reminds Me Of The 2018-2019 Roblox Tutorials Which Were Made By 11 Year Old Kids And Those Tutorials Helped Us A Lot, The Nostalgia. 🥺 Edit: how I got 40 likes? :O
For some reason roblox's default animation overrides my own made player idle animation but by adding this line local default = script.Parent:WaitForChild("Animate") default:Destroy() I was actually able to get it to work Subscribed, Thanks!
cool tutorial, im still really new to roblox studio and im learning how to make a basic fighting game for experience, so far, i got the coding part down, and this tutorial taught me how to make animations witch will be really useful!
I like how they auto add the key frames and can move them What I like is the body parts won’t float away then come back in position like Gacha tweening
It works for the Dummy, but not for the Character. Even if I insert a LocalScript in StarterCharacterScript with the animation inside of it with WaitForChild functions, etc. I get the error "ObservableValue undefined" I literally copy pasted your code to make sure, error still happens, and can't find anything specific about this error related to Animations on the Dev Forum, only some 7 days old posts about people having that same error but it not affecting their game for some reason.
For those who's lazy :) First script: local animation = script.Animation local humanoid = script.Parent.Humanoid local animationTrack = humanoid:LoadAnimation(animation) animationTrack:Play() Second script: Uh, u don't have to script this, there's an easier way: Do this to make ur character have UR animation. Click Play button Go to your animate local script Copy the whole script and inside it (all of them) Click Stop Then paste it inside the StarterCharacterScripts. Open the animations (not the script) U will see some value, click the arrow button Click Animation Open Properties Paste your Animation id to the box called "AnimationId" Done :) Wish u have a nice day!
local animation = script:WaitForChild("Animation") local humanoid = script.Parent:WaitForChild("Humanoid") local animationTrack = humanoid:LoadAnimation(animation) animationTrack:Play()
hey @rustysillyband , the reply you gave me worked! i'd like to thank you again but... could you make a tutorial to let people have different animations when they have different tools equipped? tysm!
You need to add your animation into your script so that it knows when to play . Honestly scripting is pretty simple and easy to learn , I’m not super good at it but I learned the basics in less than a day
Unfortunately at the moment Roblox is in charge of uploading all the emotes. Hopefully sometime soon they'll make it so that certain developers can upload emotes!
Hey dude, hope you don't mind but when I did the script for the animation(the non-player script), the dummy did not move, any hints on the answer??? :)
what script would be need to make it so where a player must press a button to activate the animation (on the player)? like say, its a heavy attack in a combat game. thanks for the tutorial, helped me make my first animation!
I'd recommend using User Input for that. I've got a short tutorial on it! I believe you can use the code in the video, then add in the same animTrack:Play() inside the code.
thanks @rustysillyband this was very teaching and educational for me i am currently in a coding class and wanted to get more insight on how it's done in roblox and work on some protects there for a game Tysm :D
ill watch this today, ill watch this tmrw and i will always watch this tutorial, ive been trying to do my own soccer game and i couldnt publish the animation, i will try to do it tmrw respect icl
@@rustysillyband hey that was a really good tutorial thanks ! But when I publish my animation to Roblox it's an animation type and I cannot use it in my character... It needs to be a bundle type or walk type, can you help please?
tysm I am definitely a sub now , the time and patience you take to explain as if we were kids makes this very simple and very easy to follow I appreciate it a lot 😊👍
Hi Rusty. First great tutorial. I am now a subscriber. I cannot get the base script for playing an animation off the player to work (i.e. local animation = script:WaitForChild("Animation"). I have followed your code to your letter. Unfortunately the script is not working for the player. Is it possible that I can send you my Roblox file and you can take a look?
Thanks for subscribing! Did you make sure your code is inside a local script inside of StarterCharacterScripts? If not, make sure that you do that. Otherwise, you might have some sort of error in your code. To check, go up to the top where it says "View," click on that, and then open up the Output. If there are any lines in Red then send them here please!
StarterPlayer --> StarterCharacterScriipts --> Local Script I even confirmed the Asset ID in Animation. There are words in red. I am not sure how to get the file to you.
Thank so much for the vid man. Me and my buddies we are starting game development for an idea we had soon and this helped so much. Keep up the good work (I'll tag you in the credits of the game btw!)
This was easy and straightforward to make, however I was wondering if you have tutorials on how to make animations play but only when an action has been done. Example: Walking will play the animation.
for those who want it to loop, I can give you a script. local animation = script.Animation local humanoid = script.Parent.Humanoid local animationTrack = humanoid:LoadAnimation(animation) animationTrack:Play() animationTrack.Stopped:Connect(function() animationTrack:Play() end)
Experiencing problems when running the same animation on a block avatar versus a mesh avatar. The animation appears to function properly with the block avatar, but when used with the mesh avatar, it appears strange. Would it be necessary to create separate animations for different rigs, or is there a solution to address this issue?
I believe it would be better to create different animations for different rigs, as I have not found a solution to this problem myself as of yet. Great question though!
@@duck9773 Im a fairly new scripter, so this may be incorrect. But i think it would be something like this: --Your code above this-- task.wait(Enter how long you want the animation to play for here) animationTrack:Stop()
@@duck9773 go to starterGui add a button add a local script in the button then Script.Parent.MouseButton1Click:Connect(function() “The code you want to run when the button is pressed” end)
Thank You for this tutorial !! ( i wanted to make a fnaf game for passion, as a kid i LOVED final nights 4, it wont be JUST like that but still!! thank you so much for making me 1 step further for my dream! )
oml jesuschrist thank you. ive been searching everyone just for any good tutorial to go in depth and have been failedso many times. but this video actually helps so much
My To Do List: Learn english: done Learn programing: done Learn animating: done Find animations from other games to make them on roblox (Jason's grab from "Friday Night 13th the game" for example): done Having a computer to start the projects: not done
Omg, i was bet my friend if i have 7 emojis from other people i will make him an animation and i got it so i made an anim id but none of the videos worked. You're the honored one and ur best one to make this video this video worked thank god i found an blessed person with skills in animations
A little tip if you have the same issue as me: make sure you use a r15 dummy and not r6 (idk if that was the real issue all i know is when i switched it somehow worked)
THIS ONE THING IS ALWAYS SO IRRITATING ME SO MUCH. when i make a new anim and insert keyframes, and when i click on one of the parts, it always highlights in blue and shows the letter "L" please tell me how to fix it.
OMGGG I HAD THE SAME PROBLEM BUT I KNOW HOW TO FIX IT!! Go to the top left of your screen while having the body part u wanna animate highlighted and then press “Rotate” it should work then!!
This was very helpful! But could you please make another tutorial on how to animate objects instead of just a person, I want my character to grab a phone.
Thx for the sword Tuto. I’m in this now so I can make my animation work in Public games on my game lol (edit: i just came back to this video for somethin else. :)
if people are to lazy to just put the script in roblox studio by you're self then here is solution local animation = script:Waitforchild("Animation") local humanoid = script.Parent:Waitforchild("Humanoid") local animationTrack = humanoid:Loadanimation(animation) animationTrack:Play()
This got me thinking... In doors (floor 2) at 145 you are going in a cutscene where the bridge breaks, and you fall into a minecart. Maybe make a next video how to animate every player that come across a hitbox?
10:50 Animation priority 13:10 Scripting an animation 13:20 Create a script inside a rig, and an animation as a child of the script calling it. 17:08 How to adjust the speed of our animation track 0-10 18:21 How to Script Animations for the Player in Roblox Studio - Add a LocalScript in StarterCharacterScripts - Add an Animation as a child of the LocalScript - Paste your animation ID inside of the Animation 19:00 Contrary to dummies, players need the WaitForChild() Function because when a player joins the game, the script will automatically be moved inside of the players' character.
local animation = script.Animation local humanoid = script.Parent.Humanoid local animationTrack = humanoid:LoadAnimation(animation) animationTrack:Play()
This tutorial is to teach any beginners how to animate in Roblox Studio, I know I already touched up on this subject a while back, but this tutorial covers everything you'd need to know, and the other one didn't exactly. Hope this helps, thanks for watching!
Dummy Script:
local animation = script.Animation -- This is getting our animation from the script, make sure you use your own animation ids!
local humanoid = script.Parent.Humanoid -- This is getting our humanoid from the dummy!
local animTrack = humanoid:LoadAnimation(animation) -- This is loading our animation for the humanoid!
animTrack:Play() -- This will play your animation!
animTrack:AdjustSpeed(0.5) -- Change the Float Integer to whatever speed you'd like!
wait(8) -- This is a wait() it will wait 8 seconds, you can change this to whatever, or just remove it!
animTrack:Stop() -- This will stop your Animation!
Player Script:
local animation = script:WaitForChild("Animation") -- This is getting our animation from the script, make sure you use your own animation ids!
local humanoid = script.Parent:WaitForChild("Humanoid") -- This is getting our humanoid from the player!
local animTrack = humanoid:LoadAnimation(animation) -- This is loading our animation for the humanoid!
animTrack:Play() -- This will play your animation!
animTrack:AdjustSpeed(0.5) -- Change the Float Integer to whatever speed you'd like!
wait(8) -- This is a wait() it will wait 8 seconds, you can change this to whatever, or just remove it!
animTrack:Stop() -- This will stop your Animation!
If you'd like to play the animation when a part gets touched, here's the code! Keep in mind, you do still need your animation variables!
game.Workspace.Part.Touched:Connect(function(hit) -- This function will run when a part in the workspace gets touched!
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
animTrack:Play() -- This will play your animation!
end
end)
hey, so, I have a problem that I'd hope you might know the answer to, me n a friend are workin on a roblox game, made some anims, crouch anims, I can see them on myself and him in game when we crouch, but he can't see them on himself or me, an when he puts these anims on a dummy, I can't see the anims playing, if you have any idea what could cause this I'd be very great full for any information.
@@Dom-HSK If you guys are making the games on a group, then when you publish your animations to Roblox, you need to change the creator of the animation from "ME" to the name of your group.
@@rustysillyband you really know every animations of roblox now I don’t need to animate with FLIPACLIP
hey, i have one question that i hope you can answer what if im collabing with other people but i dont have a group?
oh and the code somehow didnt work for me, do i *have* to put it on a dummy? im trying it on my friends avatar and it didnt seem to work. Do you have an answer to that, perhaps?
how do you loop the animation?
To make your animations look better you should try to follow actual animation rules like anticipation. For example, instead of throwing the arm straight out to punch, pull the arm back then throw it forward to give it more impact and make it look more lifelike
Great tip! Thanks for watching, have a great day!
I know this cuz I make stop motion
I always saw animating as "hard" and "nearly impossible" for someone like me, but this tutorial really showed me how easy it can actually be! Really appreciated, instantly subcribed!
Glad I could help! Thanks for watching!
@@rustysillyband can i ask why in script 1 it says Animation is not a valid member of script
Thank you so much, as a returning dev from 2020, so much has changed and it's been overwhelming! This guide's helped immeasurably! I subscribed.
I can relate, everything is so complicated
if i even dev for a game that only have 100 players how much rbx should i make
like how much would i get overtime
@@noamhananyev299 nothing, 100 visits is barely anything
@@noamhananyev299 100 players is very hard to get even though it may seem like most games have way more than that.
This vid changed my editing skill so much THX
it does not work
to put in into action you liar
this was super clear and i was able to understand it with ease. ive never ever script or animated before and i made a fluent walking animation and idle animation. thank you so much!
Okay so for my confused people. I have figured it out.
so since his script says
local animation = script.Animation
local Humanoid = script.Parent.Humanoid
local animationTrack = Humanoid:LoadAnimation(animation)
animationTrack:Play()
-------------------------------------------------------------------------------------------------
There are only around three things you need to change to make your animation work!
Change 3 of the words that say animation to the NAME of your animation when you are naming your animation in Roblox studio inside the explorer tab on your right side screen.
For instance, I named my animation "Float"
So I made my animation play in real time by rewriting it like this
VVVV
local Float = script.Float
local Humanoid = script.Parent.Humanoid
local animationTrack = Humanoid:LoadAnimation(Float)
animationTrack:Play()
I was having a bit of trouble understand at first but thankfuly I got it.
Thank you! I'm glad you figured it out.
it still didnt work for me i even copied the name Float and typed it copy and pasted it it wont work for me may be im just not fit for it I guess
@@jorisazozobrado2416 It has to be the name of YOUR animation, not his.
This doesn't work either
@@jasonwika2653 he said he tried
Thanks man your a true legend. I'm a professional animator, but I'm a beginner at scripting, so I didn't know how to add the animations to the player. I can finally start my animator commission career thanks to you. Keep up the good work you earned a like and a sub!
Glad I could help!
Do mine is easier.
5:37 THANK YOU OH HOLY LORD ABOVE IVE NEEDED TO KNOW HOW TO DO THIS FOR SO GOD DAMN LONG JESUS CHRIST
skill isuse XD
why did u click read balls :face-with-monocle:
@@friendlyt954 haha ur so funny bro 😐😐😐😐
Don't say that
@@Gyro3sence i made that comment when i was high af
@@friendlyt954 respect to my man he turned himself in🗿
This Video Actually changed my life.. no joke, it will help me ALOT on stuff! Thanks for the tut bro.
Man i was trying to save it for like 5h and you finally saved me, thank you.
This was very simple and well explained. Thank you!
I just found this channel today, but it is awesome and has really easy tutorials that probably even an 8-year-old could pick up on! You earned yourself a Subscriber!
I don’t know what happened but it didn’t work:(
same:c@@brickbehindthescreen
I can't do it and I'm over 8 years old (probably my adhd is the problem)
@@brickbehindthescreen did you uppercase the ones in need of uppercasing?
Fr
This Is 2024 Now And I Still Watches These Tutorials LOL, This Reminds Me Of The 2018-2019 Roblox Tutorials Which Were Made By 11 Year Old Kids And Those Tutorials Helped Us A Lot, The Nostalgia. 🥺
Edit: how I got 40 likes? :O
8:45
this was made in 2023
It was made 1 year ago what are u wafflin about
@@Loafcat-j9h i’m talking about the other tutorials
Best Instructor I have ever learned from for basic Roblox Animation, Thank you.
this helped SO much. thanks so much man you're the best
For some reason roblox's default animation overrides my own made player idle animation but by adding this line
local default = script.Parent:WaitForChild("Animate")
default:Destroy()
I was actually able to get it to work
Subscribed, Thanks!
Thank you this is legit the greatest yet simplest fix (is simplest a word?)
Wait how do you get the default animation in the script because I want the default animation
Your A Real One. Thx For TIp ! i has the same problem testing it
TYSM
OMG IT DIDENT WORK FOR ME BUT I ADDED THIS AND IT WORKED TY
Omg this is the best! I’ve been searching since last week for a video like this. Wow you deserve way more subs. Keep up the great work!
Thank you so much!
@@rustysillyband hey can i ask why when i try to run in the output it says on the script line 1 Animation is not a valid member of script
@@rustysillyband hey btw is your rig anchored?
@@rustysillyband cause if i anchored it it will not move but if i un anchor my animation will go crazy since its a back flip
cool tutorial, im still really new to roblox studio and im learning how to make a basic fighting game for experience, so far, i got the coding part down, and this tutorial taught me how to make animations witch will be really useful!
me too
Can you teach me how to code combat? I am making the same type of game
Same all i can spawn is magma fist
hello i made the animation and it works butone problem.
why when animation ends it wont reset it just dont work???
Can anyone tell me?
I like how they auto add the key frames and can move them
What I like is the body parts won’t float away then come back in position like Gacha tweening
What
You cant even animate body parts in gacha thing
@@baconheadhair6938 yea u can i used to
no fater!!111!!!1
It works for the Dummy, but not for the Character. Even if I insert a LocalScript in StarterCharacterScript with the animation inside of it with WaitForChild functions, etc. I get the error "ObservableValue undefined"
I literally copy pasted your code to make sure, error still happens, and can't find anything specific about this error related to Animations on the Dev Forum, only some 7 days old posts about people having that same error but it not affecting their game for some reason.
finnaly not some random pro just animating at light speed and expecting me too just mimick them thank you
fr
I have been wanting to animate for sooooooooo long and i never was in till NOW THANK YOU SOOOOOOOOOOOOOOO MUCH😃😃😃😃
thanks for the vid! it was very helpful and cleared a lot of difficulties, i without a doubt am definitely gonna animate more, thanks!
Thanks for watching! I'm glad I was able to help!
@@rustysillyband doesn't work
@@gamemakers-roblox_horror_games you must have either didn't put a capital letter in one of the commands or that you forgot something
For those who's lazy :)
First script:
local animation = script.Animation
local humanoid = script.Parent.Humanoid
local animationTrack = humanoid:LoadAnimation(animation)
animationTrack:Play()
Second script:
Uh, u don't have to script this, there's an easier way:
Do this to make ur character have UR animation.
Click Play button
Go to your animate local script
Copy the whole script and inside it (all of them)
Click Stop
Then paste it inside the StarterCharacterScripts.
Open the animations (not the script)
U will see some value, click the arrow button
Click Animation
Open Properties
Paste your Animation id to the box called "AnimationId"
Done :)
Wish u have a nice day!
local animation = script:WaitForChild("Animation")
local humanoid = script.Parent:WaitForChild("Humanoid")
local animationTrack = humanoid:LoadAnimation(animation)
animationTrack:Play()
why ty
Ty
pin this
thank you i've been scripting and building games for 2+ years and have yet to learn how to animate, this will help me as a solo developer.
hey @rustysillyband , the reply you gave me worked! i'd like to thank you again but... could you make a tutorial to let people have different animations when they have different tools equipped? tysm!
woah this is the first time i saw person do it zooming in on the script is probably a really good thing to do for your viewers
My animation isn't working😢 I made the animation, it worked for the dummy, but it didn't work.
U need to script itu also for the animation prob
You need to add your animation into your script so that it knows when to play . Honestly scripting is pretty simple and easy to learn , I’m not super good at it but I learned the basics in less than a day
It is only for dummy
This is one of the best tutorial videos ive ever watched
I can't wait for you to get to 10K Subs
Any clue on how to make an emote, for any game?
Like, so you can equip it in the avatar section?
Unfortunately at the moment Roblox is in charge of uploading all the emotes. Hopefully sometime soon they'll make it so that certain developers can upload emotes!
@@rustysillyband Ohh, I see.
Thank you so much for the video anyways!!
Hey dude, hope you don't mind but when I did the script for the animation(the non-player script), the dummy did not move, any hints on the answer??? :)
what script would be need to make it so where a player must press a button to activate the animation (on the player)?
like say, its a heavy attack in a combat game. thanks for the tutorial, helped me make my first animation!
I'd recommend using User Input for that. I've got a short tutorial on it! I believe you can use the code in the video, then add in the same animTrack:Play() inside the code.
@@rustysillyband thanks! ill check it out.
Thank you, currently I’m making an animation of. Ahead falling off and (you) picking it back up and reattaching it. Again, thanks a lot for this.
thanks @rustysillyband this was very teaching and educational for me i am currently in a coding class and wanted to get more insight on how it's done in roblox and work on some protects there for a game Tysm :D
I have now changed into that one quiet kid.......
Alfie?
@@rustysillyband Yes It is me
*A overaly dramatic version of me*
@@rustysillyband you found your school friend?
@@dipeashsuks8876 No, he's one of my older subscribers lol
ill watch this today, ill watch this tmrw and i will always watch this tutorial, ive been trying to do my own soccer game and i couldnt publish the animation, i will try to do it tmrw respect icl
Thanks dude! This video has everything I needed!
Glad I could help!
@@rustysillyband hey that was a really good tutorial thanks ! But when I publish my animation to Roblox it's an animation type and I cannot use it in my character... It needs to be a bundle type or walk type, can you help please?
Thank you, I made my first animation, I don't know how I would've done it without this tutorial!
tysm I am definitely a sub now , the time and patience you take to explain as if we were kids makes this very simple and very easy to follow I appreciate it a lot 😊👍
Thank you a lot. Now I can do pretty good animations in roblox. THANK YOU SO MUTCH
Hi Rusty. First great tutorial. I am now a subscriber. I cannot get the base script for playing an animation off the player to work (i.e. local animation = script:WaitForChild("Animation"). I have followed your code to your letter. Unfortunately the script is not working for the player. Is it possible that I can send you my Roblox file and you can take a look?
Thanks for subscribing! Did you make sure your code is inside a local script inside of StarterCharacterScripts? If not, make sure that you do that. Otherwise, you might have some sort of error in your code. To check, go up to the top where it says "View," click on that, and then open up the Output. If there are any lines in Red then send them here please!
@@rustysillyband Thanks for responding! My local script is inside of StarterCharacterScripts. The full menu is as follows:
StarterPlayer --> StarterCharacterScriipts --> Local Script
I even confirmed the Asset ID in Animation. There are words in red.
I am not sure how to get the file to you.
@@davidsurti3714I am very late but which words I think I can help
Thank so much for the vid man. Me and my buddies we are starting game development for an idea we had soon and this helped so much. Keep up the good work (I'll tag you in the credits of the game btw!)
R6 ON TOP K?
Based
KK
Yes bacuase its more easier
Nah-
YES ✅✅✅
Bro thank you I am the animator for our group and I knew nothing about animation so I looked up some tutorials and this one is the best one thank you
Not a good sign.
Woa
This was easy and straightforward to make, however I was wondering if you have tutorials on how to make animations play but only when an action has been done. Example: Walking will play the animation.
do you know how to change the rig into ur roblox character
@@ZealyPlayzRoblox
You mean spawn a rig that looks like your character?
Rig Builder
R6/R15
My Avatar
local animation = script.Animation
local humanoid = script.Parent.Humanoid
local animationtrack = humanoid:LoadAnimation(animation)
animationtrack.Looped = true
animationtrack:Play()
Is this meant to be a working version? It doesn’t work.
@@funneldude524 yea it doesnt i just realized
@@funneldude524 sorry mate
for those who want it to loop, I can give you a script.
local animation = script.Animation
local humanoid = script.Parent.Humanoid
local animationTrack = humanoid:LoadAnimation(animation)
animationTrack:Play()
animationTrack.Stopped:Connect(function()
animationTrack:Play()
end)
-_-
animationTrack.Looped = true
Experiencing problems when running the same animation on a block avatar versus a mesh avatar. The animation appears to function properly with the block avatar, but when used with the mesh avatar, it appears strange.
Would it be necessary to create separate animations for different rigs, or is there a solution to address this issue?
I believe it would be better to create different animations for different rigs, as I have not found a solution to this problem myself as of yet. Great question though!
@@rustysillyband Hey! I have a question,how can i make a animation stop?
@@duck9773 Im a fairly new scripter, so this may be incorrect. But i think it would be something like this:
--Your code above this--
task.wait(Enter how long you want the animation to play for here)
animationTrack:Stop()
@@distantmarsh. alr thanks,i have another question too,how can i make a animation play when i press a button?
@@duck9773 go to starterGui add a button add a local script in the button then
Script.Parent.MouseButton1Click:Connect(function()
“The code you want to run when the button is pressed”
end)
for some reason it doesnt work for me i have
r6 force
correct script
r6 animation
correct animation id
animation made by group
why doesnt it work :(
this guy helped me make a running animation
15:30 I never realised this before. Thank you so much for this video it helped me a lot.
I'm just learning how to do thus and this video was incredibly educational. Thanks a lot!
Thank You for this tutorial !!
( i wanted to make a fnaf game for passion, as a kid i LOVED final nights 4, it wont be JUST like that but still!! thank you so much for making me 1 step further for my dream! )
i wanted to animate in roblox months ago thank you for teaching me the basics ;)
Amazing video! You helped me so much. Just subscribed
thank god this video exists, this helped me with making my first decent animation, thank you!
oml jesuschrist thank you. ive been searching everyone just for any good tutorial to go in depth and have been failedso many times. but this video actually helps so much
Glad I could help!
Thank you so much. You made me fully understand this. Now i can make the movie
I’m an upcoming roblox animator and this video helps alot! thank you!!
this makes me learn so much of animations thank you so much!!
My To Do List:
Learn english: done
Learn programing: done
Learn animating: done
Find animations from other games to make them on roblox (Jason's grab from "Friday Night 13th the game" for example): done
Having a computer to start the projects: not done
Omg, i was bet my friend if i have 7 emojis from other people i will make him an animation and i got it so i made an anim id but none of the videos worked. You're the honored one and ur best one to make this video this video worked thank god i found an blessed person with skills in animations
THIS HELPED ME SO MUCH TYSM
The video is made very very good and you explained it very good!!!
A little tip if you have the same issue as me: make sure you use a r15 dummy and not r6 (idk if that was the real issue all i know is when i switched it somehow worked)
bro thank you SO much I've always wanted to do this!
Your tutorials are so helpful!Thank you.
Great job i have learned alot from you keep up the good work never give up!
Thanks, I was struggling so much
THIS FIXED MY EDITING SKILLZ TYSM!!
this was very usefull and helped me start editing! Thank You!
Glad I could help! Have an amazing rest of your day!
@@rustysillyband You too!
BRO I AM MAF WHY DO I LISTEN TO SO MANY TUORIALS WHEN I CAN JUST SEE THIS AND LEARN SO MUCH +1 SUB
THIS ONE THING IS ALWAYS SO IRRITATING ME SO MUCH. when i make a new anim and insert keyframes, and when i click on one of the parts, it always highlights in blue and shows the letter "L" please tell me how to fix it.
OMGGG I HAD THE SAME PROBLEM BUT I KNOW HOW TO FIX IT!! Go to the top left of your screen while having the body part u wanna animate highlighted and then press “Rotate” it should work then!!
This was very helpful! But could you please make another tutorial on how to animate objects instead of just a person, I want my character to grab a phone.
Great idea!
when u uploaded this it was my bday :)
Thanks for the help!
Thx for the sword Tuto. I’m in this now so I can make my animation work in Public games on my game lol (edit: i just came back to this video for somethin else. :)
this guide is gonna help me so much with my upcoming cartoon battlegrounds game!
if people are to lazy to just put the script in roblox studio by you're self then here is solution
local animation = script:Waitforchild("Animation")
local humanoid = script.Parent:Waitforchild("Humanoid")
local animationTrack = humanoid:Loadanimation(animation)
animationTrack:Play()
Tysm i was searching for the a animation editer tysm tysm 😭😭😭😭😭
This got me thinking...
In doors (floor 2) at 145 you are going in a cutscene where the bridge breaks, and you fall into a minecart.
Maybe make a next video how to animate every player that come across a hitbox?
Thank you this helped me with my "project"
if you enable IK it makes your animation more realistic
Tysm I Can Finally Completed My Game!!
TYSM IT HELPED SO MUCH YOU DESERVE MOR SUBS
10:50 Animation priority
13:10 Scripting an animation
13:20 Create a script inside a rig, and an animation as a child of the script calling it.
17:08 How to adjust the speed of our animation track 0-10
18:21 How to Script Animations for the Player in Roblox Studio
- Add a LocalScript in StarterCharacterScripts
- Add an Animation as a child of the LocalScript
- Paste your animation ID inside of the Animation
19:00 Contrary to dummies, players need the WaitForChild() Function because when a player joins the game, the script will automatically be moved inside of the players' character.
thank you so much! this is the first scripting vid that i found that works!!
THANK YOU SO MUCH THIS HELPED ME ON MY GAME IM WORKING ON!
Got a question: will the animated parts still be able to be collided with by players etc? As in each frame of animation
bro you are a god to me i had a problem in my laptop of not having the move button work properly but you solved it you are a god
i knew how a bunch of this stuff worked and a bunch of stuff i didn't, otherwise this really helped and refreshed my memory, thanks
Thanks for your help
local animation = script.Animation
local humanoid = script.Parent.Humanoid
local animationTrack = humanoid:LoadAnimation(animation)
animationTrack:Play()
BRO YOU SAVED ME LIFE OMGG
THIS HELPS ME ALOT THANK U