Humanoid::ApplyDescription() DataModel was not available

hi, i have a character customizer in my game, and i’m trying to make it so that the character stays after you die, so here’s what i have attempted:

game.Players.PlayerAdded:Connect(function(player)
	local char = player.Character or player.CharacterAdded:Wait()
	
	char:WaitForChild("Humanoid").Died:Connect(function()
		
		local clone = char:Clone()
		clone.Parent = game.ReplicatedStorage
		
	end)
	
	player.CharacterAdded:Connect(function(character)
	
		character.Humanoid:ApplyDescription(game.ReplicatedStorage:FindFirstChild(character.Name).Humanoid:GetAppliedDescription())
	end)

end)

but i get this error:

 Humanoid::ApplyDescription() DataModel was not available

i have searched it up but none of the posts seemed to have helped

4 Likes

idk if this will help but before cloning the character put this

		char.Archivable = true
3 Likes

yeah i did that and it does clone

2 Likes
	player.CharacterAdded:Connect(function(character)
		game.Workspace:WaitForChild(character.Name)
		character.Humanoid:ApplyDescription(game.ReplicatedStorage:FindFirstChild(character.Name).Humanoid:GetAppliedDescription())
	end)


try put that line of code i added and see if it worked, when i tried it seemed to fix the issue

2 Likes

nope, same error blurred text

2 Likes

wdym blurred text? what texts blurred

2 Likes

theres a minimum character requirement on replies so people usually just put blurred text

2 Likes

can us end the the full code with the bits i put in it, just so i can see how ur doing it

2 Likes

ok so this is weird, i broke it down just to this:

game.Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(char)
		
		print(char)
		local clone = char:Clone()
		clone.Parent = game.ReplicatedStorage.CharStore
		
	end)

end)

and for some reason, i get this error:


it knows what char is but for some reason it says clone is nil???

do the archivable thing thats why its not working

oh yea im so dumb

i made it archivable in another script but that probably doesnt run before this

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