HumanoidDesc Help

Hello, So I want to create a script where. When you type the command “Update”. Instead of deleting the existing character and spawning in a new one with the new Humanoid Description. I want to update the Humanoid Description. How could that be done?

Current Script:

game.Players.PlayerAdded:Connect(function(Player)
	-- Chat Commands --
	Player.Chatted:Connect(function(Message)
		if Message:lower() == 'Update' then
			local Character = Player.Character
			local Humanoid = Character.Humanoid
			-- New Description --
		end
	end)

Humanoid:GetAppliedDescription
https://create.roblox.com/docs/reference/engine/classes/Humanoid#GetAppliedDescription

How would that work in the script tho. Do I just put that under the new desc comment?

Hope this helps. :smile:

game.Players.PlayerAdded:Connect(function(Player)
	-- Chat Commands --
	Player.Chatted:Connect(function(Message)
		if Message:lower() == 'Update' then
			local Character = Player.Character
			local Humanoid = Character.Humanoid
			local Desc = Humanoid:GetAppliedDescription()
            Humanoid:ApplyDescription(Desc)
		end
	end)

I didn’t do anything :sob: (char2.0)

Are you attempting to simply update the players character based on their current avatar, or something in your game?

From there current avatar to their new avatar

threw the clothes you updated to wearing on the roblox website

Try using something like LiveCharacter.

If you don’t want to use the module itself, you can always take some code from it and modify it as you please.