How to Make Idle Animation for NPCs in Roblox Studio!
HTML-код
- Опубликовано: 13 сен 2024
- BUY MY ASSETS/SCRIPTS: / shop
BECOME BETTER DEVELOPER: / posts
JOIN THE GROUP: www.roblox.com...
GET FREE MODELS: / discord
BUY MY ASSETS/SCRIPTS: clearlydev.com...
PLAY MY NEW GAME: www.roblox.com...
epidemic sound: www.epidemicso...
Buy my assets: clearlydev.com/public-marketplace/erexx-inc
whenever i use that script for some time now later like weeks later or idk but it makes no animation whatsoever for mine it did work before thought but not anymore can you please explain how to fix this?
@@Aradum-pm6so I'm not exactly sure what you are talking about but if you bought something with my animations use animation spoofer to publish them as yours and it should work. Also if you want the game to be on group you need to publish them under the group where it usually says "Me".
local humanoid = script.Parent.Humanoid
local anim = script.Animation
local track = humanoid:LoadAnimation(anim)
track.Looped = true
while task.wait(4) do
track:Play()
task.wait(4)
track:Stop()
end
Thanks
I like how simple this tutorial is, keep doing what your doing man!✌
OMG TYSM IT ACTUALLY WORKS!! past like 20 minutes i was trying to find an actuall working script, then i find this and finally makes my npc to move!! keep making these tuts :DDDDDDD
Can i join the game?
@@Giliw_konahalkita what
please keep making these tutorial its very useful for up and coming developers
Of course, glad it helped!
OMG THANKL YOU SOO MUCHHH!!! THIS I THE FIRST SCRIPT THAT ACTALLY WORKS COMPARED TO THE OTHERS
Great tutorial, and thanks for not having those annoying AI subtitles throughout the whole video.
Thanks, I don't use AI for them tho
@@ErExxMASTER ik, im talking about other RUclipsrs that have the giant obnoxious subtitles throughout the entire video, makes the tutorial a bit harder to follow.
Bug fixes:
If you did everything correct and it doesnt still load, change the word "anim" in the script to whatever you named the animation. In the video he named his IdleAnimation, so replace both of the words that say "anim" in the script to IdleAnimation, this helped me!
it still doesnt work
@@vuryast9530 nothing works at all why is everyone able to work
OMG I NEEDED THIS YESTERDAY HAHA thank you!
But when I clicked script then animation. It doesn't show the properties so I can paste the ID animation.
How??? :(. Pls help I really wnated to do this
go to the "VIEW" tab on the top, and press properties at the left
Thanks bro! Great vid
cool tutorial!
Perfect every tutorial had the same script but that script was causing errors so thanks
i used this same exact script but it only would work for me and not anyone in the game would see, and when I rejoin studio and come back all of a sudden, the script would stop working
quality content and editing
is it possible to make it with R15 emotes instead of animations? 🧐 but still great tutorial!
you just need the emote id, which I believe you can find on Roblox site under Avatar > Animations > Emotes
tysm bro
i tried to loop an animation, but idk how to stop it
W can I unlock the tab of properties of rig???
TYSM! but can you make it so the rig has to be anchored but its fine if u dont do it cause i dont need it its just an idea
@@FatBoy_Matt you can anchor humanoid root part and the rig wont move but animation will play
Thx dude
it dont work for me :(
18851687564
your lag or pc players only work for them...
This works too --
local humainoid = script.Parent.Humanoid
local anim = script.Animation
local track = humainoid:LoadAnimation(anim)
track.Looped = true
while task.wait(2) do
track:Play()
track.wait(2)
track.Stop()
task.wait(math.random(1, 5))
end
Yeah the script works😊
thanks bro
Tsym brooo, you're a hero
how to make other clients see it?
Use remote events in that case, look it up coukd help
It loads in studio but not inside the game. How can i fix?
Hmm, it's fine with everything, but when I entered my brother's animation, his two animations didn't appear
can't use other peoples animations, publish your own or use a plugin to convert it to yours
How do I make it just loop without the animation stopping?
I did everything correctly and I am grateful for how well it works, however despite having the animation thing set to loop the animation stops for one second and then replays
ty
how do i add animations when he moves?
TYYYYYYYYYYYYYYYYYYYYY BROOOO
do i have to use a dummy
or any model good?
You have to use a dummy, normal parts/models won't work
@@ErExxMASTER how to make it work on imported characters?
@@two2seven7 if the rig is not R6 type than I think you'll have to animate it seperatly. Except if you can somehow convert the animation or something, I'm not excelent on the topic so check on the dev forums.
quick question: is the animation visible on any client? I've been dealing with this issue for quite a while
wdym by "any client" ? And it's a normal scripts so its visible to everyone at the same time.
how can i make it so you cant push the npc? when i anchor it it doesnt play the animation
@@lyricrl if the rig is R6 and you anchor humanoid root part than it can't move and it will play the animation if you did everything correctly
Hey when I made the animation it worked for me when I played and then my friend joined my game using team create and he couldn’t see the animation I did everything the video said but it didn’t work I used moon animator to animate but it only showed for me and not for my friend is there any fix?
my guy he will not see yours in roblox studio publish the game then make it public, friends or whatever then join that game instead of going to join in roblox studio
What if I wanted the animation to play continuously?
Then just click on the loop icon in animator, set the animation to idle and load animation in the script and put animation:Play() and that's it
🙏
How do i export it :(
Click Publish to Roblox while in Animator
not works for me
1:20
it doesnt work i did every thing you did
when im ingame it wont move
Check if you have "Drafts" turned on. But also Roblox might have updated something.
@@ErExxMASTER how do i check drafts?
@@Stream-s3n under the View tab there should be like a button "Drafts". It usually enables itself if you use team-create. It's use is that owner of the game needs to approve the scripts for them to work incase someone on team-create changed them. It's unlikey that's the problem if you are working alone tho. So probably roblox update or smth.
can u use custom rigs?
@@zeezeedoom yes but I think you need to animate them separetly if the joints are not in similar places
Dont work
worked for 100+ ppl, so you did something wrong I guess
@@ErExxMASTER aw :(
@@ErExxMASTER It's really not working
@@GoofyVergil I mean it literally does, you can see it in the video... you just did something wrong
8 did EVERYTHING thats on the vid IT DIDINT WORK. @@ErExxMASTER
why this not work for me .-.
You pobably wrote something wrong or made it for R15, unless Roblox changed something in the past weeks
restarted
Doesn't work thx for nothing
Bruh, it works perfectly, probably you just did something wrong, pay more attention.
yeah if the script does not work then look at the video and compare it to your script you made
@@Chicobonitao3 Mine is completely accurate yet it does not work and I can guarantee I paid attention
none of the 10 tutorials i watched worked, including yours
Worked for more than 100 ppl so you did something wrong I guess.
@@ErExxMASTER Doesnt work at all, roblox changed it. LOL.
works for me smh
Trash
you just can't even copy paste a video 😂
i followed the instructions but i didnt use my own animation, and when i join the game the character doesnt move! did i do something wrong?
(edit) i checked the comments and turns out the humanoid root part was anchored and i had to use a dummy, i made the changes and the character still doesnt move :/
(edit 2) turns out i have to use my own animation
local humaniod = script.Parent.Humanoid
local anim = script.Animation
local track = humaniod:LoadAnimation(anim)
track.Looped = true
while task.wait(2) do
track:Play()
task.wait(2)
track:Stop()
end
it doesnt work for me