Make custom humanoid model have default animations?

Hi there! I have a model that is used as a morph that currently has no animations. I would like to apply the default animation every player has to my model. So when they walk, run, jump, swim, etc. I would appreciate some help if anyone knows what I need to do.

Here are some images for reference:
Screen Shot 2021-11-18 at 4.37.28 PM

You can take the Animate script from your player’s character during runtime (copy it) and paste it into the model.

1 Like

Thanks for the help but this doesn’t seem to work. When I do this nothing happens. I think this is because the model is a morph (you click something and it changes player’s model), and I do some ‘hacky’ code to make the morph work. This is what the morph code looks like:

function morphPlayer(player, morphName)
	local model = game.ServerStorage:WaitForChild(morphName)
	local morph = model:Clone()
	morph.Parent = workspace

	morph:MoveTo(player.Character.HumanoidRootPart.Position)

	morph.Name = player.Name
	player.Character = morph

	local tempHumanoid = game.ServerStorage.Humanoid:Clone()
	tempHumanoid.Parent = morph

	tempHumanoid.Died:Connect(function()
		player:LoadCharacter()
		morphPlayer(player, morphName)
	end)

	return morph
end

Try taking the Animate script from the original character and cloning/moving it into the morph.

You have to perfectly mimic the default r15 rig joint hierarchy. You have to make sure that each Motor6D in the default roblox rig has a direct counterpart in yours.

Go To Studio >> Test >> Play Game
When You Join The Game Go To Workspace >> Player Name And Copy The Script Called “Animate” And End Test Session. After That Go To Your Custom Character Model And Paste This Script. That’s It

Putting the “Animate” script in the model isn’t working. I also made my model mimic the default joint hierarchy, and still no luck.

What I’m doing right now is calling some code whenever you click a part, which morphs you into a model. As I’ve said before, this code is kind of ‘hacky’ and this is where I think the problem is. When I name my model ‘StarterCharacter’ and put it in the ‘StarterPlayer’ folder, the animations work. But they do not when I manually change the player’s model through code.