#How do i load an animation

17 messages · Page 1 of 1 (latest)

glad lance
#

Hm

#

Do you have the animation id

serene mesa
#

rbxassetid://16927477230

glad lance
#

Prob should add local animId = 16927477230

#

If that doesn't work I don't know what does

serene mesa
#

do you want the model maybe ?

glad lance
#

Did you add the variable to the script?

serene mesa
#

like this ?
local animationController = script.Parent.AnimationController
local animObject = script.Parent.AnimationA
local animId = "16927477230"
local animTrack = animationController:LoadAnimation(animId)

animTrack:Play()

glad lance
#

Nope
Don't put it in ""

serene mesa
#

no don't work

teal fableBOT
#

studio** You are now Level 4! **studio

serene mesa
glad lance
#

Try replacing local animObject = script.Parent.AnimationA with local animId = 16927477230

#

Or just

dark jetty
#

oh nvm i see

#
  1. this is server or local script?
  2. did you put AnimationId in your anim object?