hello, i was making a script for my game that runs an animation from the server. But it seems to not work.
local animctrl = script.Parent.AnimationController
local anim = script.Parent.Anim_EnterModel
animctrl.Animator:LoadAnimation(anim):Play(1, 0, 0)
this is an animation for a model, and it is welded and motor6 stuff are added to it.
Inside the model is 2 meshparts, one is “Hinge” and one is “MainPart”
I tried everything but it doesnt work, how do i fix this?
local animationTrack = animctrl.Animator:LoadAnimation(anim)
animationTrack.Priority = Enum.AnimationPriority.[priority you want often higher than core]
animationTrack.Looped = true or false depending on what your animation is
animationTrack:Play()