local desc = services.plrs:GetHumanoidDescriptionFromUserId(player.UserId)
modules.loadplrdesc(workspace.ClassRoom.PlayerDummy, desc)
‘loadplrdesc’ module code:
local module = function(dummymodel, desctoapply)
if dummymodel:FindFirstChildWhichIsA('Humanoid') then
dummymodel:FindFirstChildWhichIsA('Humanoid'):Destroy()
local humanoid = Instance.new('Humanoid')
humanoid.Parent = dummymodel
humanoid:ApplyDescription(desctoapply)
end
end
return module
The code produces this monstrosity:
I’ve tried putting a ‘Shirt’ and ‘Pants’ instance in the dummy, but that didn’t help. Any ideas?
ApplyDescription can only be called by the server.
The following script worked for me.
local Game = game
local Workspace = workspace
local Players = Game:GetService("Players")
local R6 = Workspace.R6
local R15 = Workspace.R15
do
local Success, Result = pcall(function() return Players:GetHumanoidDescriptionFromUserId(3394880434) end)
if not Success then warn(Result) return end
R6.Humanoid:ApplyDescription(Result)
R15.Humanoid:ApplyDescription(Result)
end