So I don't know if this is correct but I made this so that once it is ran, it finds Plane in the workspace and it is supposed to take all of the parts named Brick in the model but I think it either only applies BlockMesh to one part rather than all of them. How could I get it to be applied to all the parts in the model that are named Brick?
local mesh = Instance.new("BlockMesh", game.Workspace.Plane.Brick)
print("Mesh Applied")

3 comments
idk, but i do know one way you can make your script shorter. don't say mesh.Parent = game.Workspace.Plane.Brick. say Instance.new("BlockMesh", game.Workspace.Plane.Brick)
Thank you!
Keep in mind, friend, that using the syntax Instance.new(className, Parent) is not at all recommended if you plan on customizing the object. Always set properties before parenting instances, because doing so on the DataModel is more expensive.