#Playing animation after previous one

1 messages · Page 1 of 1 (latest)

tall sorrel
#

im messing around with a fortnite model and some animations for it, ive got all of them but i have no idea what im doing wrong, first animation works fine, but no matter what i try i cant figure out how to play the rest, idk what i should add or do more, its something simple so its not alot.

local model = script.Parent
local animationid = "rbxassetid://xxxxxxxxxxxxxxx" -- (my id here)
local animationController = model:FindFirstChild("AnimationController")

local animation = Instance.new("Animation")
animation.AnimationId = animationid

local animator = animationController:FindFirstChildOfClass("Animator") or Instance.new("Animator")
animator.Parent = animationController
local track = animator:LoadAnimation(animation)

track:Play()

raw kiln
#

You just need to get the assetid for the other animations and play it just like you did with the first. If u only change the animationId in the current script to another animation, it will change the animation to a different one