Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Changing MeshID of mesh part access restricted?

I am making a game where I want the mesh parts of a character to be forced to be something in particular, but I have no clue how to do it without running into that error.

I have investigated and remember seeing a post saying you could fix it by doing;

char.Humanoid:BuildRigFromAttachments()

But I have just done it again and I completely forgot how to use it and have lost the post. Any help would be appreciated.

1 comment

0

MeshId cannot be written from a script. There is no way to do this other than manually in the explorer.

1 answer

✓ Accepted answer

The MeshId property cannot be written from scripts. They are .fbx files which can only be imported from computers in your file explorer, and there is no way to script write MeshIds because of this.

3 comments

0

That sucks, I did find a way to do it without assigning the MeshId. So I assiged the new meshpart to the player and getting rid of the old meshpart of the player and then using the Humanoid Function.

0

I don’t know if you can clone MeshParts, but you can give that a try.

0

Yeah you can, works well!

This discussion is preserved as it was. New answers, comments, and votes are closed.