-
What do you want to achieve? I would like a Dummy/Viewmodel to copy all my character animations: walking, gun equip, etc
-
What is the issue? I have tried this using
Animator.AnimationPlayed
but for some odd reason I cannot play it, probably because theweight
is0
.
If it helps here is the structure of the Viewmodel
:
- Have you looked for solutions on the Devforum Yes, but unfortunately I cannot find any relevant topics apart from this bug report; which is relevant to my issue but hasn’t been fixed.
Here’s my code:
Animator.AnimationPlayed:Connect(function(AnimationTrack)
local Track = ViewmodelAnimator:LoadAnimation(AnimationTrack.Animation)
Track:AdjustWeight(10)
wait()
print(Track.WeightCurrent)
Track:Play(0.1, 10)
Track.Stopped:Wait()
Track:Stop()
Animation:Destroy()
end)