Animation not playing

function Customer.New()
   local self = setmetatable({}, {__index = Customer})
   local customer = script.Rig:Clone()
   self.Customer = customer
   self.Customer.Parent = workspace
   self.Humanoid = customer:WaitForChild('Humanoid')
   wait(2)
   self:Move()
   return self
end

function Customer:Move()
   local WalkAnim = Instance.new("Animation")
   WalkAnim.AnimationId = "rbxassetid://17346937969"
   self.Humanoid:LoadAnimation(WalkAnim):Play()
end

return Customer

I am trying to play animation on rig but its not working

Try to load it into the animator:

self.Humanoid.Animator:LoadAnimation(WalkAnim):Play()

1 Like

my script already works i didnt saw because its a bit fast animation thanks tho

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.