How can I make a dummy copy all the animations a Character does?

  1. What do you want to achieve? I would like a Dummy/Viewmodel to copy all my character animations: walking, gun equip, etc

  2. What is the issue? I have tried this using Animator.AnimationPlayed but for some odd reason I cannot play it, probably because the weight is 0.

If it helps here is the structure of the Viewmodel:

shot

  1. 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)
1 Like

Like this?

1 Like

Yes! Thank you, this has solved my problem. BTW, how did you find that post, I looked all over google and the devforum with no response?

From links under a viewmodel or tool tutorial.

Alright! That explains a lot, next time I will look there for any problems with tutorials.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.