Make a player look like an NPC

How would I make a player look like this Dummy. Please help provide a script
image

4 Likes

Sorry that nobody got to you quicker. I see that it is through your roblox profile so I just assumed that’s who you want it through. Here you are this is a script that applies it no matter what. :slight_smile:

Let me know if you need any more assistance

local apperance = game:GetService('Players'):GetHumanoidDescriptionFromUserId(442728101)
game:GetService('Players').PlayerAdded:Connect(function(plr)
	plr.CharacterAdded:Connect(function(char)
		char:FindFirstChild('Humanoid'):ApplyDescription(apperance)
	end)
end)

Thanks, but I have an avatar editor in game and I have a button to revert the players avatar back to default. When i put another playersId it works just fine but when its mine or like the local player it dosent work. I have tested this on a different account and I see the same results(when its another players id it works, but when its mine it dosent). Here is a quite edited version of the script you gave me

local ChangeToRobloxAvatar = game.ReplicatedStorage.AvatarEditorStorage.ChangeToRobloxAvatar

ChangeToRobloxAvatar.OnServerEvent:Connect(function(player)
	for i,v in pairs(player.Character:GetChildren()) do
		if v:IsA("Accessory") or v:IsA("Hat") then
			v:Destroy()
		end
	end
	
wait(0.1)

	local apperance = game:GetService('Players'):GetHumanoidDescriptionFromUserId(442728101)
	player.Character:FindFirstChild('Humanoid'):ApplyDescription(apperance)

end)

You can save the players current appearance inside of a table and store it somewhere, you can then reload this appearance onto the character if they so choose they want to fix it