u gotta be kidding me, PA's on roblox was like, such a unknown thing, and i managed to do it all by myself using unity tutorials and now theres a tutorial for it 😭, past me would've loved to see this
thats okay! the knowledge you gained from doing it by yourself is way more valuable than the knowledge u get from a tutorial because you get experience
Im no game developer or anything, ive dabbled a bit into game making but i was never good and whenever i see sick videos like this it makes me wanna learn again!
I am fairly certain you, and ByteBlox are the only people who have made studio tutorials on even remotely advanced material. This is truly refreshing. As a more seasoned developer, this stuff makes me excited about the Roblox game engine again. I would love to see more videos exposing more obscure tech like this. I just watched this after having come from a Roblox forum post showcasing viewport frame masking, so I'm just elated right now haha. So please keep this type of stuff coming, and I wish you well with that awesome FPS game you are developing.
I was actually shocked when I found out that there weren't any tutorials on Roblox procedural animations on UA-cam so I knew I had to make one. I have some ideas on some more advanced stuff for future tutorials, but we'll see.
@@Roox4Official Can you make a video of how to export animations from blender to roblox studio? all the videos are from 2022 and wont working anymore. In my case i cant export the animstions i made for my bunny
hmmm, idk if anyone can help me but i got an error in the output (the script breaks) " ReplicatedStorage.ProceduralModule:137: attempt to index nil with 'Position' "
it follows it's target but for some reason the legs act really strange and its kinda hard to explain whats happening to them. They arent really "stepping" but it feels like the legs are being like dragged
I have been working on a game for a while now ive been looking everywhere for a tutorial on this and it just happened to be posted two days ago. Thank goodness. I was almost going to learn unity just ao i could make procedural animations lol
i need some help, i made a spider following your tutorial but for some reason the left legs are okay but the right legs are janky. Can anyone help me? edit: for some reason the spider walks sideways when i add the target part
It moves around and stuff but for some reason the legs keep turning up and down and they keep inverting and stuff, on a model where the leg's X and Z axis are the same its probably not a problem but on mine where the X and Z are different sizes it becomes a problem
idk if other people are getting this error but for some reason when i used the ProceduralModule that was provided, it keeps counting as nonexistent because anything after ProceduralModule it won't work
all legs just snap to the iktargets, it doesnt move, just all legs snap to iktargets. Its been a whole week of me troubleshooting dat creature, da hell did i do wrong?
i mean that all ik targets are in same place, i did everything as you said in the video, ik targets dont move, "Enemy" doesnt move, alll legs just point at ik targets
@@alejandroalcantar791 where the module was being called in the example was what made it not work as intended, So i moved it to where it was in the video and that fixed it for me
It works amazingly, the only problem is that the 2 back legs go inside the model (Probably due the positioning of the attachments or the build of my spider)
Having a bit of a problem with it, when i run the code the legs go towards the IK targets however the model itself dose not move. If there is something i did wrong, or i am missing please let me know
add this in the script if you dont have it already: local target = workspace:FindFirstChild("Target") coroutine.wrap(function() while task.wait(0.25) do hu:MoveTo(target.Position) end end)() add a part in the workspace and name it "Target"
It may something wrong with the targets, make sure they are being referenced properly and that the targets properties and size is set exactly how it is in the video
My spider thing goes to the target part but the legs won't move no matter how often I rewatch this video and check if I did everything correctly, you did not show you doing anything with the IKTarget parts which are anchored, inside eachother and at the left back corner of the spider like it was for you, yet my legs won't move and yours do Edit: I assume it's because the IKtargets are anchored and thus won't move but then again you said to have them anchored so yeah. So TL;DR the IKTargets won't move so therefor the legs just go behind like the spider was sliding on ice or something
You don't do anything with IkTargets. The IkTargets are automatically positioned by the IkLegStep function. It's one of the parameters and they have to be anchored otherwise they would fall through the floor.
@@Roox4Official Yeah I did nothing withthe IKtargets like you said but they are not moving at all for me, the spider goes to the target but the targets do not move
Roblox just freezes for a few seconds and then crashes whenever I mark the Chain Root. I have seen other reports of this happening of the developer's forum, but still have no answers. Any advice?
for some reason whenever i test it the targets dont move and the torso just slips down (edit: nvm i did a rookie mistake and pasted ALL of the module in instead of just the green part)
it walks sideways for me (edit: SOLVED if you're having this problem too, put an image on your humanoidrootpart and make it face forwards, then rotate your humanoid rootpart to make it face the direction u want the character to walk, resize it to fit the hrp like it originally was.)
ey, i've been rewatching this tutorial many times now but i still haven't got it working. I used roox's procedural animation module in the creator marketplace. my problems are that the creature isn't moving to a target or to the player itself and the targets aren't automatically moved to the right positions, i manually put the targets in their place instead but its still not working. 2 months i have been rewatching. 2 months.
The script isnt the same as it was before, ive gone over this video over 15 times now. Can somebody please assist me?? Its when it comes down to the coding part. And i have to paste the procedural moduel
Legs should point to the IK poles. If you mean the end of the leg is pointing to the IK poles then that means the target property in the IK Control instance is set to the pole, so change it to the target.
Works great but the legs will sometimes shake up and down in small movements. Is this an issue with the script or an issue with the way I made it? If it's the way I made it then what could be causing this?
@@CoPilot4567 Yeah I did. I figured out that the random shaking was the steps being triggered at undesirable times because the step distance was the same as the step trigger so it would keep triggering when standing still. Making the step distance slightly shorter seems to fix it.
Im having a problem, i used the module then gave the module location, everything works fine but the body just falls and he walks to the target part. Any solution so his body doesn't fall?
Its not working for me and idk why, I followed everything you did EXACTLY but when I test it, the model I made just drops down to the waist and does nothing
its very discouraging when im learning to script and i find this amazing tutorial, i wait till after school to follow it. and when ive finally made it following every step; it simply.. doesnt work! not saying its your video's fault but it didnt work for me.
I really want to make procedural animation for all players in my game but i gave up i may try later but i need to focus in other important things first
I need help, i Keep getting errors in the module script the Error: ReplicatedStorage.ProceduralModule:137: attempt to index nil with 'Position' line: 137 can anyone please help me
At 03:03 make sure parts in IkTargets folder are ANCHORED! (forgot to mention that in the video)
Is this possible a default Roblox character?
@@zainanimations8319 possible with any rigged model
@@zainanimations8319 Yes it is.
thanks for the tutorial
is this possible with a skinned mesh?
u gotta be kidding me, PA's on roblox was like, such a unknown thing, and i managed to do it all by myself using unity tutorials and now theres a tutorial for it 😭, past me would've loved to see this
thats okay! the knowledge you gained from doing it by yourself is way more valuable than the knowledge u get from a tutorial because you get experience
Same for me im a bit mad because we were not alot of people that made this system and now its an open source thing
i was literally doing the same thing with unity tutorials, but at least theres a tutorial now
lucky, you get too actually understand how to use it
@@CoPilot4567 just read his code, Ik isn't that complicated once u get the hang of it, only on the first time
I believe this is the golden age of Roblox development because there are so many outstanding videos on advanced topics on UA-cam right now.
I agree. It's crazy, I've been on Roblox for over 10 years and I still remember when it was quite unknown and now it's mainstream. Time flies.
yeah, but there's also skibidi tower defense and low effort free model games with ai thumbnails
Any recommendations (videos about advanced topics)? :D
so true i wanted to try some procedual animation but i couldent figure out how an i wish i had this video like a year ago
rain world on roblox could be possible now
Thats what I was thinking!
already copied released milked copied again and repeated 3 times brother.
Someone already made something similar
Heard of rain escape?
Theres already quite afew rainworld games, like Lizard game and Rain escape
NOONE can comprehend how much I needed this
I bet you are gonna make siren head in roblox and make a game out of it!
I dont even develop games, but i watched this the whole way through cus it was so well made.
i reccomend you to develop games, it's very fun as a hobby or as a job i would deffinently reccomend
@@CoPilot4567uhh
hey man! im going through a rough time right now and you genuenly lighten my mood so much! keep going
I'm sorry to hear that. Hope life gets better soon.
Im no game developer or anything, ive dabbled a bit into game making but i was never good and whenever i see sick videos like this it makes me wanna learn again!
1:59 you can select the torso and ctrl click all upper joints to be faster. this works when 1 part is connected to multiple parts
so glad people are making more complex tutorials nowadays youre a saint
I am fairly certain you, and ByteBlox are the only people who have made studio tutorials on even remotely advanced material. This is truly refreshing. As a more seasoned developer, this stuff makes me excited about the Roblox game engine again. I would love to see more videos exposing more obscure tech like this. I just watched this after having come from a Roblox forum post showcasing viewport frame masking, so I'm just elated right now haha. So please keep this type of stuff coming, and I wish you well with that awesome FPS game you are developing.
I was actually shocked when I found out that there weren't any tutorials on Roblox procedural animations on UA-cam so I knew I had to make one. I have some ideas on some more advanced stuff for future tutorials, but we'll see.
@@Roox4Official Can you make a video of how to export animations from blender to roblox studio? all the videos are from 2022 and wont working anymore. In my case i cant export the animstions i made for my bunny
Suphi Kaner
@@Roox4Official hey make a model template please
@@Roox4Official maybe you should go over coding whole procedural animation ai?
FINALLY A TUTORIAL!!! Thank you for tutorial i was waiting from other youtubers but you made my mood better. Thank you again.
Hi are you a Roblox dev?
Earned a sub. Fantastic work making the module public and a great tutorial! Your video editing style is also amazing. Keep it up man!
These mechanics are so good for tripods or spiders, Thanks
Hey I'm early 🙃 thanks for this tutorial I wanted to do something like this for a long time
Amazing video, Great Description and tutorial !
The things i will make with this are gonna be lit. Thank you so much !
hmmm, idk if anyone can help me but i got an error in the output (the script breaks) " ReplicatedStorage.ProceduralModule:137: attempt to index nil with 'Position' "
it follows it's target but for some reason the legs act really strange and its kinda hard to explain whats happening to them. They arent really "stepping" but it feels like the legs are being like dragged
Make sure the stepheight it good
an actual useful learning material about roblox studio on youtube!?? no wayy
IVE BEEN TROUBLESHOOTING IT FOR TOO LONG, CAN SOMEONE SEND ME THE MODEL DEAR GOSH
ugh. thank. you... SO MUCH YOU'RE A LIFE SAVER!!!!!
This is one of the few tutorials that makes me feel like I WON'T have to spend 3 hours debugging every tiny detail
Finally Someone who includes the Plugin in Description!!!!
Thank you for the tutorial! It helped me understand Ikcontrols a lot more better and on how to use them properly
Hi are you a Roblox dev?
@@Ishimitso yep, but I don't upload games since I have no game ideas right now
@@L9ggyAim would you like to help me on my project?
First I would like to know what type of project it is to see if I can help you out on that
@@L9ggyAim its a open world game, fight bosses, do quest and pull some units for the tower defense event
THANK YOU SO MUCH! THIS WAS MY DREAM SINCE I STARTED USING ROBLOX STUDIO
I was literally just thinking about this and it pops up on my recommended videos. I Really like this video
I have been working on a game for a while now ive been looking everywhere for a tutorial on this and it just happened to be posted two days ago. Thank goodness. I was almost going to learn unity just ao i could make procedural animations lol
Thank you SO MUCH!! I’ve been trying to make this for months!
Works perfectly.
Not for me:( can you give me the steps?
@@MrAizen0 Yeah I will comment later.
@@Pikminabb k
ty for this turtorial i made my own script but the plugin you showed in the video is very usefull and i learnt about the topic IK great video
i need some help, i made a spider following your tutorial but for some reason the left legs are okay but the right legs are janky. Can anyone help me?
edit: for some reason the spider walks sideways when i add the target part
Could have something to do with the direction the humanoid root part is facing
FINALLY AFTER 4 YEARS THERE A PROCEDUALL ANIMATIONS TUTORIAL
what if i wanted the model to walk toward a player
what would i do with the iktargets
I needed this so much been looking for years amazing.
Fire tutorial 🔥
It moves around and stuff but for some reason the legs keep turning up and down and they keep inverting and stuff, on a model where the leg's X and Z axis are the same its probably not a problem but on mine where the X and Z are different sizes it becomes a problem
Now the walking animation of my martian tripod looks AMAZING thank you!
MY GOAT MY GOAT MY GOAT OMG i just subbed all over the place
When i ty this the legs dangle toward the direction of the ik parts without actually moving, can anyone help
same thing
bro really made the tutorial we be waiting for years now
I thank thy for this video. This has really helped as finding a video about Procedural Animation on UA-cam was impossible until now.
Hi are you a Roblox dev?
Thanks for the module and tutorial, i will now make a bunch of enemies with this
idk if other people are getting this error but for some reason when i used the ProceduralModule that was provided, it keeps counting as nonexistent because anything after ProceduralModule it won't work
all legs just snap to the iktargets, it doesnt move, just all legs snap to iktargets. Its been a whole week of me troubleshooting dat creature, da hell did i do wrong?
The legs should point to the IK targets. In code, you don't move the legs itself, you just move the IK target parts, which then moves the legs.
i mean that all ik targets are in same place, i did everything as you said in the video, ik targets dont move, "Enemy" doesnt move, alll legs just point at ik targets
@@Anon-YF39 Same here
it works but the legs dont move, they just get dragged. How do I fix this?
Fixed it
How@@Rav-000
@@alejandroalcantar791 where the module was being called in the example was what made it not work as intended, So i moved it to where it was in the video and that fixed it for me
but how do I get the enemy to follow the part?
idk whats wrong with mine because the legs are like squished flat on the floor and it walks really weird and one of the legs is high and isnt moving
please help🙏
It works amazingly, the only problem is that the 2 back legs go inside the model (Probably due the positioning of the attachments or the build of my spider)
Having a bit of a problem with it, when i run the code the legs go towards the IK targets however the model itself dose not move. If there is something i did wrong, or i am missing please let me know
add this in the script if you dont have it already:
local target = workspace:FindFirstChild("Target")
coroutine.wrap(function()
while task.wait(0.25) do
hu:MoveTo(target.Position)
end
end)()
add a part in the workspace and name it "Target"
@@twinengine12 it's already in the code
@@Progamer-ph9ux did you name everything how it is in the video?
@@twinengine12 yeah. Used the script download
It may something wrong with the targets, make sure they are being referenced properly and that the targets properties and size is set exactly how it is in the video
Finally, I can now use my favorite thing ever! :D
My spider thing goes to the target part but the legs won't move no matter how often I rewatch this video and check if I did everything correctly, you did not show you doing anything with the IKTarget parts which are anchored, inside eachother and at the left back corner of the spider like it was for you, yet my legs won't move and yours do
Edit: I assume it's because the IKtargets are anchored and thus won't move but then again you said to have them anchored so yeah. So TL;DR the IKTargets won't move so therefor the legs just go behind like the spider was sliding on ice or something
You don't do anything with IkTargets. The IkTargets are automatically positioned by the IkLegStep function. It's one of the parameters and they have to be anchored otherwise they would fall through the floor.
@@Roox4Official Yeah I did nothing withthe IKtargets like you said but they are not moving at all for me, the spider goes to the target but the targets do not move
@@ElmoPlayss That's weird. I guess you can check if the ikTargets aren't welded and also if you pass correct arguments into the IkLegStep function.
@@Roox4Official The IkTargets are not welded and my creatures is the exact same as yours
Roblox just freezes for a few seconds and then crashes whenever I mark the Chain Root. I have seen other reports of this happening of the developer's forum, but still have no answers. Any advice?
Not sure how I'll use this knowledge yet, but I'm sure the answer will reveal itself :D Very clean tutorial
for some reason whenever i test it the targets dont move and the torso just slips down
(edit: nvm i did a rookie mistake and pasted ALL of the module in instead of just the green part)
Great video, thanks for providing for the community (:
it walks sideways for me
(edit: SOLVED if you're having this problem too, put an image on your humanoidrootpart and make it face forwards, then rotate your humanoid rootpart to make it face the direction u want the character to walk, resize it to fit the hrp like it originally was.)
just rotate the body so it walks forwards
(dont rotate the humanoid)
@@bigpotatojimmy2703 i fixed it yesterday i just only rotated the humanoid
Just use orentation indicator
im having a problem where the enemys legs just dont move and sometimes it flops down
I need help. When I press run all of the legs point towards the Iktargets. Where do I put the ik targets to make it walk?!
ey, i've been rewatching this tutorial many times now but i still haven't got it working. I used roox's procedural animation module in the creator marketplace. my problems are that the creature isn't moving to a target or to the player itself and the targets aren't automatically moved to the right positions, i manually put the targets in their place instead but its still not working. 2 months i have been rewatching. 2 months.
Imagine an advanced combat or sword fighting game with procedural animations paired with ragdoll mechanics
you the best in roblox studio thx man
FINALLY A WELL EXPLAINED VIDEO
Great stuff, super usefull!
and thats why he's the GOAT
Can you help me with a bug? I made it on my monster model, works, but the monster foots its in upwards and not in the floor
Me neithe
Bro, this tutorial helped me so much, thank you!!
Hi are you a Roblox dev?
The script isnt the same as it was before, ive gone over this video over 15 times now. Can somebody please assist me?? Its when it comes down to the coding part. And i have to paste the procedural moduel
It doesn't work for me, whenever I play "run" the legs point a the Ik poles for some reason that I don't know. Please help!!!
Legs should point to the IK poles. If you mean the end of the leg is pointing to the IK poles then that means the target property in the IK Control instance is set to the pole, so change it to the target.
Works great but the legs will sometimes shake up and down in small movements. Is this an issue with the script or an issue with the way I made it? If it's the way I made it then what could be causing this?
Did you use the module in the description
??
@@CoPilot4567 Yeah I did. I figured out that the random shaking was the steps being triggered at undesirable times because the step distance was the same as the step trigger so it would keep triggering when standing still. Making the step distance slightly shorter seems to fix it.
@@pulsegamingbird3764 i have no clue how to fix it man, sorry
dude where do you put the IkTarget parts? you just show yourself putting it inside the folder yet what do you do with them afterwards?
OMG this is so cool i never thing this was possible on roblox so cool
I'm a Roblox developer rn, I can make simulators and obby but my problem is I cannot make animations or realistic games
I'm an animator
Im getting a error that says " ReplicatedStorage.ProceduralModule:137: attempt to index nil with 'Position' " Do ya know how to fix it?
Nevermind i got it working, i had to replace some lines of code because my " thing " was using 3 legs instead of 4
@@Lizard97383 what codes did you replace I am also using 3 legs
My dude... I was just looking on how to do this. You absolute scripting god. THANK YOU.
Now I can make robot dogs for my game thanks!
YESSSS
zizi
so thats why the IKController wasnt working when i was trying to use it without an animation, i needed the animator instance
No way this actually goes hard please make a game with this stuff
just in case i ever decide to magically learn scripting and stuff im definitely saving this vid
You can also use AnimatorController if the model is not a humanooid/living
Im having a problem, i used the module then gave the module location, everything works fine but the body just falls and he walks to the target part. Any solution so his body doesn't fall?
you need to rig it up
i have a question it may sound dumb but where do you put the IkTarget parts at? i dont think you showed in the video
This is the only problem I dont know too
Its not working for me and idk why, I followed everything you did EXACTLY but when I test it, the model I made just drops down to the waist and does nothing
im having an error in the script continously where it says
Uknown Global 'ProceduralModule'
Did you end up figuring it out?
@keno4893 Nope, I ended up just giving up because I couldent figure it out
And the legs couldnt collide with the baseplate and when i put a target part it still didnt work i dont know what i did wrong
man a moving spider in the view ports following you sounds like a nightmare
Ty
Thank u so much roox, you inspired me to start making Roblox games. Hopefully one day I blow up
Ah yes, now I can make a Strider Synth. Thanks.
i have an issue that the alignOrientation part of the script isn't working properly
wish i could use this. i have no idea how to code and my brain shuts down if something hard happens
you do not need to code that much tbh, there is code in the description
i can also give u a model if u want?
birdy
@@CoPilot4567 DEAR GOD I NEED THE MODEL, PLEASE IVE BEEN TROUBLESHOOTING IT FOR TOO LONG, PLEASE
You are amazing man🙆🏾❤
What do I do if the legs only are one part? Do I put the EndEffector and ChainRoot as the same or do I leave one empty?
I believe that you should add a part below the foot and then rerig it to include the foot part
its very discouraging when im learning to script and i find this amazing tutorial, i wait till after school to follow it. and when ive finally made it following every step; it simply.. doesnt work! not saying its your video's fault but it didnt work for me.
I really want to make procedural animation for all players in my game but i gave up
i may try later but i need to focus in other important things first
is there a way to make it so the legs move only if the opposite ones are planted
I need help, i Keep getting errors in the module script
the Error: ReplicatedStorage.ProceduralModule:137: attempt to index nil with 'Position'
line: 137
can anyone please help me
Do you have a part in workspace called "Target" ?
@@roninexplode yes
thanks for the knowledge
THANK YOU
mine is super wobbly for some reason, it looks like hes having a seizure or smth and he slips around alot and is in general clumsy
You'll have to adjust the parameters in the IkLegStep function.
@@Roox4Official thanks that helped me alot, if i dont move my model anywhere he stumbles backwards and keeps trying to rebalance himself tho