Why is my character dummy not working

  1. What do you want to achieve? I only want one duplicate for each server. I just want the dummy to change the the characters appearance kind of like Piggy in the cutscenes.

I elaborated it some more for some people sitll confused: So for the character thing what I want it to do is Morph or change their appearance too the players character but I only want it to be like one dummy per server so everyone is sharing the same dummy but it looks different for everyone

  1. What is the issue? Its not working

  2. What solutions have you tried so far? Youtube.

Here is the Script!

game.Players.PlayerAdded:Connect(function(plr,classNames,character)

for i, descendant in pairs(plr.Character:GetDescendants()) do

	if table.find(classNames, descendant.ClassName) or descendant:IsA("Decal") and descendant.Parent.Name == "Head" then

		descendant:Destroy()
	end
end


for i, descendant in pairs(plr.OwnedCharacters[character]:GetDescendants()) do

	if table.find(classNames, descendant.ClassName) then

		descendant:Clone().Parent = game.Workspace.Dummy

	elseif descendant:IsA("Decal") and descendant.Parent.Name == "Head" then
		descendant:Clone().Parent = plr.Character.Head
	end