Preview:
local rig = script.Parent

-- Asume que 'rig' es tu modelo que contiene el AnimationController
local animationController = rig:FindFirstChildOfClass('AnimationController')

-- Crea un Animator si no existe uno ya
local animator = animationController:FindFirstChildOfClass('Animator')
if not animator then
	animator = Instance.new('Animator', animationController)
end

-- Asume que 'animation' es tu objeto Animation que está dentro del Animator
local animation = animator:FindFirstChildOfClass('Animation')

-- Carga la animación en el Animator y la reproduce
local animationTrack = animator:LoadAnimation(animation)
animationTrack:Play()
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter