Roblox removed mesh object from head, Can't seem to change player's head mesh anymore

I had code that changed players head mesh like so:

player.character.head.mesh:Destroy()
serverstorage.Mesh:Clone().Parent=player.character.head

It used to work, but now the mesh has been removed (not sure when but had to been recent) and the above code fails.
I saw a property in Head called meshid so I tried to set it to the desired meshid like so:

player.character.Head.MeshId="rbxasset://avatar/heads/head.mesh"

But it gives the following error:
paint

What should I do? I really want to be able to change player’s head mesh…

Apparently you cannot morph the mesh for some reason? It applies to any of them. They become almost readonly after being assigned from nil if I reckon that correctly.

You can set MeshPartHeadsAndAccessories in Workspace to Disabled to get the traditional head behavior back.

3 Likes