Bone Rig Not Working As Character Model?

I’m Asking This Question on Behalf of Someone That Doesn’t Have Acces to Posting on The Forums.

I’ve made a rig using Mixamo, Animated it, uploaded it to roblox, and then assigned it to the players character, But it Doesn’t set the players character to the new model, the model just flops over where it copied.

Here’s a video of the animation:

Here’s a few pictures:
image
image

and finally, here’s the script that sets the character:

local touchHandler = script.Parent
local targetCharacter = game:GetService("ServerStorage").Characters:FindFirstChild("LaaLaaIdle")

touchHandler.Touched:Connect(function(hitPart)
	local player = game:GetService("Players"):GetPlayerFromCharacter(hitPart.Parent)

	print(player, "Touched")
	
	

	if player then
		local clone = targetCharacter:Clone()
		clone.Name = player.Name
		clone.Parent = workspace
		
		player.Character = clone
		
		print(player.Character)
	end
end)

I have no idea what the problem is here, im at a loss.
Please ask if you need more info!

Any help is greatly appreciated!

2 Likes

Is it in workspace with Player’s name and where is the script? I think it should be located in server script service. And this issue looks like your character doesn’t have a head I’ve faced this problem when I started working on skinned meshes.