#Animation not loading for clones

1 messages · Page 1 of 1 (latest)

gaunt ore
gaunt ore
#

Small changes, it works after some private fixing BUT i now have this error

quick wedge
#

Easy fix, this should be because your using a while loop or some kind of loop in your script

#

This is bad because you dont get rid of the other ones

#

Try this script and also add a detector to check if an animation is already playinglua function Animator.StopAnimation(humanoid) local animator = humanoid:FindFirstChild("Animator") if animator then for _, track in animator:GetPlayingAnimationTracks() do track:Stop() track:Destroy() end end end

gaunt ore
quick wedge
gaunt ore
#

do you thinktheres a way to fit what you put into here?

#

i tried adding a check myself

#

but i didnt know there was actual playing track checks

quick wedge
#

there kinda isnt

#

Roblox just has a hard limit

#

also did you commission people?

#

dont do that at a beginner level

gaunt ore
#

no no, im not beginner, im an indie dev. Its just that iv never actually done animation or programmed animations. I do alot with math

gaunt ore
# quick wedge oh

So is there any way to actually check if a specific models animator has an animation already loaded?

quick wedge
proud skiff
quick wedge
#

it uses some other functions in the same module but its basically the same thing

quick wedge
gaunt ore
#

okay okay

quick wedge
#

its a helper module for a rig

gaunt ore
proud skiff
#

Just create a module that loads and play your animation

#

There are a lot of it

gaunt ore
#

How do i load it only once?

quick wedge
#

or turn loop off

#

or just use what I sent

#

it checks through all playing animations and stops them

gaunt ore
quick wedge
#

the animator in the rig

gaunt ore
#

like lets say i load it in one section of a script, and then in another section i want to reference it

quick wedge
#

Im not sure

gaunt ore
wooden crown
# gaunt ore

instead of that end put else n then load the anim