I'm a begining scripter,and im very bad at english so it hard to learn about it.Im searching in google and dint find any turtorial.I do all think I script everything in knowledge but it dint work..btw,i use rpg kit(everycan) Can everyone help me script?Thanks!
how to add idle,walk,attack animation to an npc?
1 answer
**
add a script to the npc :
**
wait(3)
local hum = script.Parent.Humanoid
local anim = hum:LoadAnimation(script.climb.ClimbAnim) -- climb is a stringvalue child of script
anim:Play()
create a stringvalue within the script and the name of the stringvalue must be the name of the animation now create an animation within the stringvalue and put an animationid (in properties )and also a name, the animationid is the id of the animation you want to run you can find them in the library, now in the script, change climb to the name of the stringvalue and climbAnim to the name of the animation.
here is an image in case you did not understand :
http://subirimagen.me/uploads/20181225063054.JPG
http://subirimagen.me/uploads/20181225063122.JPG
Animations Id :
Idle: 125750544, 125750618 walk: 125749145 jump: 125750702 fall: 125750759 climb: 125750800 wave: 128777973 point: 128853357 dance: 130018893, 132546839, 132546884
------------------------Accept Answer---------------------
This discussion is preserved as it was. New answers, comments, and votes are closed.

10 comments
It dint work! http://subirimagen.me/uploads/20181225071034.png i do all step or you can add friend me ign:binhtretrau12 to help me correctly!
show me this : http://subirimagen.me/uploads/20181225063054.JPG http://subirimagen.me/uploads/20181225063122.JPG
wait im check back the script
http://subirimagen.me/uploads/20181225073257.png here.
show me the script
http://subirimagen.me/uploads/20181225074305.png
try with a while true do and check the animationid in properties, maybe this is wrong, because it does not give you any error
I try while true do and also check the animation id in properites!Can you make a model then send to me ?
https://www.roblox.com/catalog/02678093225/redirect
Not this script! I know how to do it already..