Right. Im creating a animation script for a RPG enemy, (and I know it is not correct), and that I cant figure out what I need to find out the speed/or at least how to tell whether the enemy is moving, so when he is moving he "runs" and when he is not, he "Stands". If you use a free model script, the animation for a RPG enemy works fine, in solo mode. However when going to normal (multiplayer) mode it decides to not work. idk if this is to do with servers/clients etc, because I don't understand them. Is there something else I need to do? :
function onRunning()
if isSeated then return end
if script.Parent.Torso.Velocity > (0,0,0) then -- A single value wont work
pose = "Running"
else
pose = "Standing"
end
end
Thanks ~Bubs

4 comments
Great Stuff, Thanks! :)
Ah. This Actually Caused a Problem :'( . Like i said earlier, this only works in edit mode, solo. now in the actual game? Any Ideas? ( Running event)
Any errors in the output?
none at all - i would hapily uncopylock if you wish?