Animation doesn't load on a custom character

Hello everyone

I have made a r6 character for my game but when I switch the player’s character to the new custom one it doesn’t have any animation

I have tried copying the Animate script inside the player’s character to the custom one but that doesn’t seem to work

here is the code that changes the player’s character

	if Player.Stats.Lives.Value == 0 then
		stat.Role.Value = "Zombie"
		Player.TeamColor ="Lime green")
		Player.Character = workspace.DummyTest

can you help me? Thank you.