Issue with cloning a player's looks to a rig

So I’m trying to make a skin walker monster that pretends to be one of the players in game but I keep getting the error
“Humanoid:ApplyDescription() DataModel was not available”

here is the area of the script that has the issue

function pathfind.New()
		task.wait(2)
		local monster = rs.Enemy.Skinwalker:Clone()
		local players = game:GetService("Players"):GetPlayers()
		local randplr = players[math.random(1, #players)]
		task.wait(3)
		local desc = randplr.Character.Humanoid:GetAppliedDescription(randplr.UserId)
		
		monster.Humanoid:ApplyDescription(desc)
		local spawnPos = workspace.MonsterSpawnPos.CFrame * CFrame.new(0,0,0)
		monster:PivotTo(spawnPos)
		monster.Humanoid.WalkSpeed = 10
		monster.Parent = workspace
		monster.PrimaryPart:SetNetworkOwner(nil)
		

you need to set it to Datamodel (game) any descedants of it will count (even replicated storage)

could be also that monster is not yet loaded

is datamodel a specific setting under the rig’s properties or do i have to do that by script.

Hey, you probably found a fix for it but. I’ll speak from experience.
You have to parent the model to workspace BEFORE applying description, move this line “monster.Parent = workspace” to right after you clone it

yes thank you for clarifying this, (which was the solution i found.)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.