How would I apply the players humanoid description to the player?

I know it sounds weird, but lets say I have a blank dummy called StarterCharacter in the starterplayer,
how would I apply the players own description? I’ve tried looking everywhere, but nothing works for me.

1 Like

you would use Humanoid:ApplyDescription() and game.Players:GetHumanoidDescriptionFromUserId() for this.

local dummy = --the dummy
dummy.Humanoid:ApplyDescription(game.Players:GetHumanoidDescriptionFromUserId(plrid))
1 Like

Well, I tried almost the exact same thing, but theres an error when I try to apply the description and I want to apply it to the player.

What is the error that you are getting?

sorry for the late reply.

So I sadly deleted it because it didn’t work ( it was a while before I made this topic) but it was saying that it can only be called by the backend server.

actually got an old rbxl file exactly for this
applydescription.rbxl (67.9 KB)

if you’re too lazy to download that, here’s the script(s):
serverscript 1(for when the player first joins):

local function onPlayerAdded(player)
	local user = player.UserId --defines userid as ID of player who spawned
	print(user)
	wait(3)
	local char = player.Character
	char.Humanoid:ApplyDescription(game.Players:GetHumanoidDescriptionFromUserId(user)) --applies description of avatar gathered from userid onto the humanoid of the dummy
end


game.Players.PlayerAdded:Connect(onPlayerAdded)

serverscript 2(in case the player dies):

game:GetService('Players').PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(character)
		character:WaitForChild("Humanoid").Died:Connect(function()
			local user = player.UserId 
			print(user)
             wait(7)
			local char = player.Character
			char.Humanoid:ApplyDescription(game.Players:GetHumanoidDescriptionFromUserId(user)) 
		end)
	end)
end)
1 Like

Oh yes thanks!

30charcs

Actually one thing though, my friend joined my game but it didn’t work for him, any solutions?

I’m not good enough of a scripter to know any fixes sadly. I’d recommend just trying to add a longer wait to the first script, as it’s really the only thing I can think of

please just do

local character = player.Character or player.CharacterAdded:Wait()

this will wait until the character is fully loaded if player.Character results nil