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

Why am I getting an error for trying to edit a MeshID using Instance.new?

Asked by
Mr_Unlucky 1085 Moderation Voter
5 years ago

Im making a script where it creates a tool through instance.new, and the handle is supposed to be a meshpart. But for some reason it isn't loading! Error: 20:44:18.973 - Unable to assign property MeshId. Script write access is restricted

0
Btw bro, it legit says it in the output "Unable to assign property MeshId". Just a Scripting tip. Resplendid 3 — 5y

1 answer

Log in to vote
1
Answered by 5 years ago

You will have to assign the meshID before the game starts, as you cannot assign it in a script.

Ad

Answer this question