This would utilize the the Load Animation function contained within every humanoid. This requires you to do two things.
1.) Create an animation object inside the target model
2.) Create an animation track that loads and controls when the animation is played, stopped, etc.
You can leave the animation object inside the humanoid of the dummy, or alternatively you can modify the script to create one and parent it.
the following script should help you out.
1 | local Dummy = game.Workspace:FindFirstChild( "Dummy" ) |
2 | local Animation = Dummy.Humanoid:FindFirstChildOfClass( "Animation" ) |
3 | local AnimTrack = Dummy.Humanoid:LoadAnimation(Animation) |