Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Changing MeshID of mesh part access restricted?

Asked by
xEiffel 280 Moderation Voter
6 years ago

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.

0
MeshId cannot be written from a script. There is no way to do this other than manually in the explorer. User#19524 175 — 6y

1 answer

Log in to vote
1
Answered by 6 years ago
Edited 6 years ago

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.

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. xEiffel 280 — 6y
0
I don’t know if you can clone MeshParts, but you can give that a try. User#19524 175 — 6y
0
Yeah you can, works well! xEiffel 280 — 6y
Ad

Answer this question