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()