Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how to add idle,walk,attack animation to an npc? [closed]

Asked by 5 years ago

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!

Closed as Not Constructive by yHasteeD and saSlol2436

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
1
Answered by
ksony 54
5 years ago
Edited 5 years ago

**

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---------------------

0
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! binhtretrau12 -5 — 5y
0
wait im check back the script binhtretrau12 -5 — 5y
View all comments (6 more)
0
show me the script ksony 54 — 5y
0
try with a while true do and check the animationid in properties, maybe this is wrong, because it does not give you any error ksony 54 — 5y
0
I try while true do and also check the animation id in properites!Can you make a model then send to me ? binhtretrau12 -5 — 5y
0
Not this script! I know how to do it already.. binhtretrau12 -5 — 5y
Ad